This is sort of strange question, but I have no idea how to accomplish this, or if it would even be possible.
Essentially what I'd like to do it be able to feed an image in, and have a 'ascii outline' come out from it.
For example, lets say this is the source image:

Would output something like this:
[FONT=times new roman]…………………………………………………
…………………………………………………
…………………………………………………
…………………………………………………
…………….-------------------------…………….
…………….|………………….. .|…………….
…………….|………………….. .|…………….
…………….|………………….. .|…………….
…………….|………………….. .|…………….
…………….|………………….. .|…………….
…………….|………………….. .|…………….
…………….|______________|…………….
…………………………………………………
…………………………………………………
…………………………………………………
…………………………………………………
[/FONT]
If you have any insight, that would be nice.