Hashpic creates an image from the MD5 hash of your input.
pip3 install hashpic
> python3 -m hashpic 'Hashpic rocks!'
This should create a file output.png
in your current directory.
The input Hashpic rocks!
should create the following image:
All this commands should produce the same image as above.
> printf 'Hashpic rocks!' | md5 | python3 -m hashpic --md5
> printf 'Hashpic rocks!' | python3 -m hashpic
The color palette in data.py
was copied and influenced from the string-color
library.
Thanks for this!