Print an image to the console using RGB ANSI codes.
Have Stack installed.
stack build
stack install
Call the console-img
program with a single argument.
Example:
console-img my-picture.png
The current version does no rescaling, so if you have a large image you must downscale it manually to fit the terminal. For example, if you have ImageMagick:
console-img <(convert big-image.png -resize 80 png:-)