This c++ project allows you to easily convert any plain-text into ASCII art and vice-versa.
Since this is a C++ project you need to compile main.cpp to generate an executable. I've done so below using g++:
g++ main.cpp -o main.exe
To convert plain-text into ASCII art and print output in terminal:
./main.exe display font.txt "My Sentence" "#" "."
To convert plain-text into ASCII art and save output in a .txt file:
./main.exe display font.txt "My Sentence" "#" "." > output.txt
Command Arguments:
- display: Specifies that we are turning plain-text into ASCII art.
- font.txt: Required file that determines ASCII shapes.
- "My Sentence": Any string you want to generate ASCII art from.
- "#": The character you choose as the foreground character.
- ".": The character you choose as the background character.
- read: Specifies that we are turning ASCII art into plain-text.
- font.txt: Required file that determines ASCII shapes.
- input.txt: Your ASCII file that you want converted into plain-text.