img2txt

Convert images to colour ASCII characters and output them to text-based coloured files. More information: <https://manned.org/img2txt>.

Install

All systems
curl cmd.cat/img2txt.sh
Debian Debian
apt-get install caca-utils
Ubuntu
apt-get install caca-utils
Alpine
apk add libcaca
Arch Arch Linux
pacman -S libcaca
image/svg+xml Kali Linux
apt-get install caca-utils
Fedora
dnf install caca-utils
Windows (WSL2)
sudo apt-get update sudo apt-get install caca-utils
OS X
brew install libcaca
Raspbian
apt-get install caca-utils
Docker
docker run cmd.cat/img2txt img2txt powered by Commando

Convert images to colour ASCII characters and output them to text-based coloured files. More information: <https://manned.org/img2txt>.

  • Set output column count to a specific value:
    img2txt --width=10
  • Set output line count to a specific value:
    img2txt --height=5
  • Set output font width to a specific value:
    img2txt --font-width=12
  • Set output font height to a specific value:
    img2txt --font-height=14
  • Set image brightness to a specific value:
    img2txt --brightness=2

© tl;dr; authors and contributors