Generate ANSI from a picture. Pixels more than 50% transparent will not be displayed
- Create your image, save it as image.png in the same directory as the executable. This can be found in the
Win64
directory. - Run the executable.
- The output can be found in the file
out.txt
.
- Make a file on a linux machine with the file extension
.sh
. This example uses the filefile.sh
. - Open it with an editor like nano with
nano file.sh
. - Write
#!/bin/bash/
on the first line to make it executable. - Copy the contents of
out.txt
tofile.sh
, starting on line two. - Save and exit the editor. With
nano
, usectrl+x
, then pressy
. - Make the file executable for everyone using
chmod a+x file.sh
- Run your file with the command
./file.sh
.