Transforms a png image to a web page
png2html [ imagefile.png textfile.txt output.html compatibility ]
Where compatibility is either 0, 1 or 2
0 = Small Source, but uncompatibile with some browsers
1 = Medium Size, works with almost anything.
2 = Large Source, strict HTML.
png2html takes a PNG image and transforms it pixel by pixel to a web page, encoding each pixel as an appropriately coloured letter.
It is decided which letter to encode each pixel as by using a text file supplied by the user.
This program assumes that 1 pixel should equal 1 character.
But characters are taller than they are wide, so you may want to resize the image first, else the output image will be taller than the original. Resizing is also advisable as letters are larger than pixels.
Setting the output file to be "-", will direct the output to stdout; setting the text file to "-" will cause the program to read from stdin.
Png2Html written by Geoff Holden <[email protected]>
This manual page was written by William Vera <[email protected]> for the Debian system (but may be used by others) and has been updated by Jack Grahams <[email protected]>.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation.