Albania

catimg – renders images in the terminal

catimg is a small program which renders images directly inside a terminal.

The native implementation has no external runtime dependencies for ordinary image display and supports JPEG, PNG and GIF files. Unicode characters can be used to increase effective rendering resolution.

Output uses truecolour where available, with an option to fall back to a restricted 256-colour palette.

This is free and open source software.

Key Features

  • Displays JPEG images.
  • Displays PNG images.
  • Displays GIF images.
  • Accepts image data from standard input.
  • Allows the output width or number of columns to be specified.
  • Allows the output height or number of rows to be specified.
  • Automatically scales images to the terminal.
  • Supports animated GIF playback.
  • Allows the number of GIF loops to be specified.
  • Supports infinite looping of GIF files.
  • Uses Unicode characters for higher-resolution rendering.
  • Automatically detects UTF-8 support.
  • Supports standard and high-resolution rendering modes.
  • Supports truecolour 24-bit output.
  • Can convert colours to a restricted palette.
  • Can disable truecolour and fall back to 256 colours.
  • Handles image transparency.
  • Hides the cursor while rendering animations.
  • Cross-platform support – runs on Linux and macOS.

Website: github.com/posva/catimg
Support:
Developer: Eduardo San Martin Morote
License: MIT License

catimg in action

catimg is written in C. Learn C with our recommended free books and free tutorials.

Related Software

Terminal-Based Image Viewers
timgImage and video viewer with good range of features. Written in C++
ChafaCharacter Art Facsimile
viuRust-based image viewer
vvImage viewer for sixel terminals
TIVTiny C++ program that displays images in a terminal
RangerTerminal-based file manager supporting high quality previews of images
mcatExtended cat command
icatCat like utility can specify multiple image files and/or directories
PixelTerm-CHigh-performance terminal image browser written in C
phoLightweight image viewer
catimgRenders images in the terminal
PTUIReal-time image preview capabilities
imvX11/Wayland image viewer
ivImage viewer using terminal graphics
TermVisageFront-end to the term-image library
FotoSimple image viewer
vatRenders SVG and other vector graphics in multiple formats
image_to_consoleFast image viewer supporting animations and graphics protocols
rsimgUses crossterm and zune as dependencies
imgcatDisplays images and gifs in your terminal emulator.

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted