/PicToANSI

Generate ANSII from an image

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

PicToANSI

Generate ANSI from a picture. Pixels more than 50% transparent will not be displayed

Instructions

Creation

  1. Create your image, save it as image.png in the same directory as the executable. This can be found in the Win64 directory.
  2. Run the executable.
  3. The output can be found in the file out.txt.

Display

  1. Make a file on a linux machine with the file extension .sh. This example uses the file file.sh.
  2. Open it with an editor like nano with nano file.sh.
  3. Write #!/bin/bash/ on the first line to make it executable.
  4. Copy the contents of out.txt to file.sh, starting on line two.
  5. Save and exit the editor. With nano, use ctrl+x, then press y.
  6. Make the file executable for everyone using chmod a+x file.sh
  7. Run your file with the command ./file.sh.

Preview

Output text. Origin image.

Support me:

Buy Me A Coffee