Linux terminal image preview

From Ever changing code
Jump to navigation Jump to search

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]