MateuszJanda / genetic-scii

ASCII/Unicode image generator with three step genetic algorithm.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

geneti-scii

ASCII/Unicode image generator with three step genetic algorithm.

Input image by RootOfAllLight, CC0, via Wikimedia Commons

Input image by keyword, CC BY-SA 4.0, via Wikimedia Commons

Useful links:

Requirements

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

ImageMagic cheatsheet:

Reduced just enough so as to best fit into the given size

convert input.jpg -resize 400x400 output.jpg

For new size (ignore aspect ratio)

convert input.jpg -resize 400x400\! output.jpg

Change RGB to grayscale

convert input.jpg -set colorspace Gray -separate -average output.jpg

Convert JPEG format to PNG

convert input.jpg output.png

About

ASCII/Unicode image generator with three step genetic algorithm.

License:MIT License


Languages

Language:Python 92.6%Language:Shell 7.4%