Dumps cryptopunks at a specified resolution with an optional background
- Run the following command
$ pip install -r requirements.txt
- Open
cryptopunks.py
in a code editor - Here you can configure how the image will be dumped in the last few lines of the code
- The background color of the cryptopunk is originally transparent, however you can customize this look to make it look like how they are displayed on the website or any custom hex color you like. Setting the color as
None
, keeps the background as transparent. - The size of the cryptopunk is originally 24x24 pixels, however the website displays them as 144x144. You can modify this size to your liking
- Some color hex values are already inserted as part of the code for your convenience. They represent the same colors as seen on the website. Look at images below
The blue red and purple color hex values correspond to these backgrounds:
- Simply run the following command to execute
$ python3 cryptopunks.py
- This should create a new directory called
cryptopunks
and should dump all the punks in the folder based on the configuration set
- Once the ripper is done running, you should see an output like this
- Feel free to request any features or report any feedback/bugs using GitHub Issues. This project is under the MIT license.