Linux terminal image preview

From Ever changing code
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Preview picture on a terminal, ssh terminal any terminal

imcat

imcat is a 24-bit image viewer that uses ANSI terminal colours to display any image supported by STB. It automatically resizes to the width of your terminal, using proper sampling kernels.

# Install
git clone https://github.com/stolk/imcat
cd imcat
make # to build the binary
sudo cp ./imcat /usr/local/bin/ # optional

# Usage
$ imcat file1 [file2 .. fileN]