Convert Image & Animations to Sizel ANSI Unicode Characters with Chafa

Chafa is a free and open source command-line image to text converter software for Linux and MacOS. It is released under LGPL-3.0 License. Using chafa you can convert any images and including animated GIFs. It also support Unicode symbols for the better output. It also supports full width character like Japanese and Korean, color modes like Truecolor, 256-color, 16-color and simple FG/BG, RGB and DIN99d color spaces, alpha transparency support, SIMD optimized and multithreaded.

You can load Glyphs from any font file supported by Freetype like TTF, OTF, PCF, etc. It currently supports modern and classic terminals and terminal emulators. For the chafa installation please follow the below steps.


Install Chafa on Ubuntu

Chafa is available as a snap and official PPA. You can install chafa using the terminal application.

Also Read:  Beautiful Weather and Forecasts Application

Install Chafa via PPA:

Open the terminal (ctrl+alt+t) and run below commands to add chafa PPA and install Chafa.

sudo add-apt-repository ppa:hpjansson/chafa
sudo apt update
sudo apt install chafa

Chafa Usage:

You can use below syntax.

chafa [OPTION...] [IMAGE...]

For the complete man pages run this command.



If you have an image in your Downloads folder and that image name is logo.png then run below commands.

cd Downloads
chafa logo.png

Install Chafa via Snap

You can also install it via the snap package. For that in terminal run this chafa snap installation command.

sudo snap install chafa --edge

That’s all

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.

Leave a Reply