ASCII image processing

posted by: Ms. Martin18 January 2011No Comment

Recall from our second fancy pants project that ASCII art involves making images out of characters. It turns out that this is not very far from how images really are represented — they’re really just two dimensional arrays of colors. This short assignment will get you to explore how image manipulation programs work. Thanks to Baker Franke for inspiration.

For this assignment, images are represented as a single line of integers. The first two integers give the height and width of the image. The rest are ASCII values specifying which characters to display.