in reply to Colored ASCII Art from Pictures

Since it is ASCII art, I'd consider writing out HTML.

If you want to set background color per character, then use <table>. Otherwise, just use <pre> and <font>. Of course, this will not be a very compact representation (so be sure to avoid using a separate font tag for each letter when possible). (:

        - tye (but my friends call me "Tye")

Replies are listed 'Best First'.
Re: (tye)Re: Colored ASCII Art from Pictures
by Anonymous Monk on May 02, 2001 at 01:38 UTC
    http://www.wiersma.org/Projects/pic2text/
    I tried this hunk of code out at one time and the results are what you are looking for. The problem is that this particular script translates each pixel into a colored ascii character. You would want to use Image::Magick to reduce the resolution of the picture to manageable dimensions for representation as ascii in an html page (so that you have a picture that fits into a browser window).
    It seems like a good place to start.
    Good luck