catimg
Image printing in the terminal. See also: pixterm, chafa. More information: <https://github.com/posva/catimg>.
Install
- All systems
-
curl cmd.cat/catimg.sh
- Debian
-
apt-get install catimg - Ubuntu
-
apt-get install catimg - Arch Linux
-
pacman -S catimg - Kali Linux
-
apt-get install catimg - Fedora
-
dnf install catimg - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install catimg - OS X
-
brew install catimg
Image printing in the terminal. See also: pixterm, chafa. More information: <https://github.com/posva/catimg>.
-
Print a JPEG, PNG, or GIF to the terminal:
catimg path/to/file -
Double the [r]esolution of an image:
catimg -r 2 path/to/file -
Disable 24-bit color for better [t]erminal support:
catimg -t path/to/file -
Specify a custom [w]idth or [H]eight:
catimg -w|-H 40 path/to/file
© tl;dr; authors and contributors