pichax (pronounced pic hax) is a Perl script that converts pictures to colored ASCII characters.
It outputs validated HTML files.
It uses the PerlMagick module.
Note that some pages generated may be very heavy for the browser, due to the large number of span tags.
You can configure the image size by changing the the values of the $ilevel and $jlevel variables.
Different image size may need different levels.
The default one (5-9) is good enough for most large images.
Some browsers handle the pages better than some others.
is was horrible with the page rendering, it takes took ages on large images.
The text used may be the default one ($char holds this value), or you might specify a third argument which is the text file.
Sample output: I have also included the original input picture in these examples.
int0x80 logo with the default character
BMW with the text "bmw"
Perl Camel with the pichax.pl source code (doesn't appear that good because it has characters of variable sizes and it stretches some lines more than others)
You can find the source here.