Needed a nerdy project while learning Go. The purpose of this program is to convert ASCII art files into PNG images.
ASCII art and so-called "block ASCII" or "high ASCII" uses the extended characters of the 8-bit Code Page 437 (the character set of the original IBM PC).
Example:
Using a copy of the cp437 module to avoid dependencies. Using this to convert between CP437 and UTF-8, to get the extended characters to work properly.
go run . <ascii-file>
Well, you need some ascii art files. Run the follwing commands to obtain some nice ascii art by Roy/SAC.
curl -o roy_ascii.zip http://www.roysac.com/images/galleries/ZIP/Roy_ASCII.ZIP
unzip roy_ascii.zip -d ascii
rm roy_ascii.zip
[X] Convert ASCII files to image
[ ] Convert ANSI files to image