Skip to content

doublescale/console-img

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

console-img

Print an image to the console using RGB ANSI codes.

Example result

Build

Have Stack installed.

stack build
stack install

Usage

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:-)

About

Print an image to the console using RGB ANSI codes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published