Print an image to the console using RGB ANSI codes.
Have Stack installed.
stack build
stack installCall the console-img program with a single argument.
Example:
console-img my-picture.pngThe 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:-)