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 is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Terminal-Based Image Viewers | |
|---|---|
| timg | Image and video viewer with good range of features. Written in C++ |
| Chafa | Character Art Facsimile |
| viu | Rust-based image viewer |
| vv | Image viewer for sixel terminals |
| TIV | Tiny C++ program that displays images in a terminal |
| Ranger | Terminal-based file manager supporting high quality previews of images |
| mcat | Extended cat command |
| icat | Cat like utility can specify multiple image files and/or directories |
| PixelTerm-C | High-performance terminal image browser written in C |
| pho | Lightweight image viewer |
| catimg | Renders images in the terminal |
| PTUI | Real-time image preview capabilities |
| imv | X11/Wayland image viewer |
| iv | Image viewer using terminal graphics |
| TermVisage | Front-end to the term-image library |
| Foto | Simple image viewer |
| vat | Renders SVG and other vector graphics in multiple formats |
| image_to_console | Fast image viewer supporting animations and graphics protocols |
| rsimg | Uses crossterm and zune as dependencies |
| imgcat | Displays images and gifs in your terminal emulator. |
Read our verdict in the software roundup.
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. |


Please read our Comment Policy before commenting.