Img2txt


Screenshot of one of the first renders
About the project
Img2txt is a C++ program that converts PGM (Portable Gray Map) format images into ASCII art representation. The program analyzes the image's gray levels and maps them to ASCII characters, which can be specified via a palette. Useful for displaying images in text environments or for artistic projects, for example the FallenSun game (found in this portfolio). Originally a console-only application, I developed a version with a graphical interface using Qt. I'm still working on new versions, the latest (v4.0) added functionality to add colored characters and save as HTML or ANSI!
Why this project?
This project was originally a SAE (Learning and Assessment Situation) subject for my first year of Computer Graphics degree. I decided to continue developing it alongside my other projects, particularly to integrate it into FallenSun to display ASCII art images in the game.