Albania

12 Best Free and Open Source Terminal-Based Image Viewers

Viewing images direct in a terminal used to come at a serious disadvantage. The vast majority of terminal emulators display images using block-characters. Images can be displayed using half blocks or quarter blocks, the former offers the ability to display pixels with colour-accuracy. Whether half blocks or quarter blocks are used, pixelation is evident.

But you don’t need to suffer pixelation when viewing images, as the Kitty Graphics Protocol lets us display 24-bit color high definition images direct in your terminal.

Terminals that support the Kitty Graphics Protocol include Kitty, WezTerm, Konsole, and wayst. Unfortunately, the vast majority of terminal emulators do not support the protocol. Instead, these terminal emulators may only support Sixel (“six pixels”), a bitmap graphics format which consists of a pattern six pixels high and one wide, resulting in 64 possible patterns.

You’ll also need an image viewer that supports the protocol. This article selects the best free and open source image viewers that let you view 24-bit color high definition images in a terminal. Ranger is a file manager but supports high definition previews.

Here’s our verdict captured in a legendary LinuxLinks-style ratings chart. Only free and open source software is eligible for inclusion.

Ratings chart

Let’s explore the 12 terminal based viewers. Click the links in the table below to learn more about each program.

Terminal-Based Image Viewers
timgImage and video viewer with good range of features. Written in C++
viuRust-based image viewer
ChafaCharacter Art Facsimile
TIVTiny C++ program that displays images in a terminal
RangerTerminal-based file manager supporting high quality previews of image files
ucollageExtensible command line image viewer
icatCat like utility can specify multiple image files and/or directories
phoLightweight image viewer
imvX11/Wayland image viewer
pxvInstant feature rich terminal image viewer
ivImage viewer using terminal graphics
catimgRenders images in the terminal

Graphical image viewers are covered in this separate roundup.

This article has been revamped in line with our recent announcement.

Best Free and Open Source SoftwareRead our complete collection of recommended free and open source software. Our curated compilation covers all categories of software.

The software collection forms part of our series of informative articles for Linux enthusiasts. There are hundreds of in-depth reviews, open source alternatives to proprietary software from large corporations like Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

There are also fun things to try, hardware, free programming books and tutorials, and much more.
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Please read our FAQ before making a comment.

3 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Brice
Brice
2 years ago

The grid display of timg is extremely useful.

P
P
2 years ago

I’ve always been happy with the default terminal emulator that comes with GNOME. It works well, reasonably fast, and not a memory hog. But it doesn’t support displaying high-resolution pictures. Time to move over to one that does maybe? Which is better, Kitty or WezTerm?

Mak
Mak
2 months ago

I love terminal-based apps. They are a boon to productivity and often amazingly lightweight on resources.