CSDS 297 Project #1 This bash script allows you to convert an image into ascii art
Image Magick (Download here: https://imagemagick.org/script/download.php)
The script has 3-4 primary parameters along with 2 optional ones
- Image file name (required)
- Dimensions of Ascii Art: X by Y (optional)
- Background color (black or white)
- Output format (stdout or append to file)
- In terminal type: sh toAscii.sh boat.png 50 50
- Select black background (0)
- Select the text output (1)
- Enter the file name boat.txt
- The file is verified to exist, readable, and have a valid file extension
- This boat image is converted into the following resized boat image to make it easier to process
- This resized boat is processed and the output is printed to boat.txt