/ASCII-Art

A simple c++ tool that can convert any text into ASCII art and vice-versa.

Primary LanguageC++

Description

This c++ project allows you to easily convert any plain-text into ASCII art and vice-versa.

Usage

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

Examples

Convert Plain-Text Into ASCII Art

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.
### Convert ASCII Art into Plain-Text: To convert ASCII art into plain-text and print output in terminal: ``` ./main.exe read font.txt input.txt ``` Command Arguments:
  • 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.
## Contributors Devon Bernard * dwbcoding@gmail.com * [LinkedIn](https://www.linkedin.com/in/devonbernard) * [@DBCoding](https://www.twitter.com/DBCoding)