PDA

View Full Version : Bitmap to ASCII art



cairnswm
17-11-2003, 07:59 AM
Does anyone have a code sample for converting Bitmaps to ASCII art. I have fgound one but it only does black and white and I'd like a color one if possible.

peterbone
17-11-2003, 10:04 AM
Here's an image to ascii art converter I wrote http://www.geocities.com/peter_bone_uk/source_bmptoascii.zip . It can do colour and has other features like character selection, image preprocessing, contrast adjustment, jpeg support.

Peter Bone

cairnswm
17-11-2003, 07:42 PM
Great.

Unfortunatly I cant seem to get to that page. Any chance you could email it to mee?

Alimonster
18-11-2003, 06:37 AM
You can get it by stripping off the filename and going to his page directly. It seems that Geocities doesn't like linking to files directly for whatever reason. I took the liberty of uploading it to my site for you: http://www.alistairkeys.co.uk/download/bmptoascii.zip

cairnswm
18-11-2003, 09:21 AM
Thanks Ali but I need to source not the compiled file :(

peterbone
18-11-2003, 10:51 AM
I emailed it to you. I don't know why you couldn't get to it - it works for me. Maybe you happened to try to get to it when my site was down. It does that frequently - I really must get a proper website.

cairnswm
18-11-2003, 11:08 AM
Thanks.

As I'm sure everyone here has releised I love programming contests and I found this one:

http://taat.fi/tmdc/

I thought it would be easiest to do the effect on a BMP and convert to text before display.....