![]() It's been a while since I updated this. |
||
---|---|---|
.. | ||
examples | ||
PNGCREATOR.bat | ||
README.md | ||
ascii.py | ||
ascii_gui.pyw | ||
asciitable.json | ||
asciitable_min.json | ||
executable.zip | ||
setup.py | ||
sp.png | ||
sp.txt | ||
text_to_ps.py |
README.md
ASCII
New! cx_frozen executable. Click "View Raw" on executable.zip to download a zipped up exe of this program. This means you don't need to download Python or PIL.
Only tested on PNG and JPG
I'm not the first person to come up with this, but I did write it from scratch. Requires the Python Image Library (PIL), which has been adapted to python 3 under the name "Pillow"
pip install pillow
For best results, put the pictures in the same folder as the script. Then double-click to start.
-
The filename. If you don't put the extension, it is assumed PNG.
-
The characterpixel resolution. That is, every individual character will represent
x
•y
pixels from the image.
Enter "x y" exactly. ("3 5", "9 15", "8 12"). If left blank, it defaults to 8 12 -
The Smoothing. At
1
, the script will have access to all 95 characters. At2
, it will use every other character, for 42 possible, and so on. Low values can be very messy and hard to look at. If left blank, defaults to 8.
New! Application with GUI