Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 1.92 KB

README.md

File metadata and controls

71 lines (51 loc) · 1.92 KB

NFT Generator (Image manipulation program)

Fancy buying a super yacht but are lacking in finances? This aims to fix that. Create n number of slightly modified images that would make a nice contribution to opensea's databases.

only works on png files for the time being

Before ($unsellable) After $1,000,000 (appx)

Features:

  • Edge detection
  • Pixilating images
  • Messing about with color pallets
  • Creating gifs (well kinda, there's a bash script in the ./scripts)
  • Ability to make millions from selling these....

Building

This requires installing libpng for handling png files:

mac:

brew install libpng

Fedora:

sudo dnf install libpng-devel

Ubuntu:

sudo apt-get install libpng-dev

Compiling

After installing the dependencies:

make

Usage:

The best way to get to grips with this is play around with some images and see what happens.

# some starter commands:

./src/nftgen --file ./example/alexander_great_head.png --block-size 10

./src/nftgen --file ./example/alexander_great_head.png  --block-size 0

# This will seg-fault after creating 3 images.
./src/nftgen --file ./example/alexander_great_head.png --edge-detection

# A precanned script
./scripts/mixcolors.sh ./example/alexander_great_head.png

Disclaimer

This is joke and just for fun, I was interested in experimenting with images and pixel manipulation. I'd strongly advise against trying to sell anything created by this program on opensea as listing something on the website will set you back a couple hundred pounds. Though if you do and make millions, I'd be like the program to be mentioned :).