A return to ASCII art

Before there was real computer art, there was ASCII art.  If you’re old enough to remember, it was before printers could draw graphics, pixels, lines, etc.  They did a wonderful job of printing letters and numbers.  And, with artistic abilities you could actually create pictures.  Digital impressionism?

When I read about this feature in Facebook and Instagram, I just had to try it and it really did give me a flashback…

Take any image that you have posted publicly and saved as a .jpg file on the service.  Here’s my choice, this handsome fellow on his way to the beach.

Now, the key is to find the URL to the picture.

Here’s what I did.

In the Firefox browser, I clicked the right mouse button to get the context menu to get the location of the image.

The image ended in .jpg so that was great.  I opened a new tab and pasted the image location there.  The URL is really long and involved so just ignore it and have comfort knowing that your browser knows what it’s doing.

For a black and white image, go to the very end of the URL and add .txt and press enter on the keyboard.  Voila!  Check out how the characters create the image.  It’s nothing short of amazing.  Imagine doing that by design and by hand.

My image was actually really big but a few CTRL – keyboard presses later and it had shrunk to give the ASCII art.  I now have a ghost dog!

There is a second option.  Instead of adding .txt to the image, add .html for a full colour version.

Oddly enough, and I can be odd at times, I can already think of a couple of ways that I may use this technique in the future.

Go ahead and try it.

Thoughts?

Advertisements

2 thoughts on “A return to ASCII art

  1. First thought: good CS assignment for semester 2. Grab the luminance of a pixel or group of pixels and choose a character with that “brightness”. Hmmm…

Comments are closed.