Luxembourg

image_to_console – high-performance image viewer

image_to_console is a command-line image viewer written in Rust which renders pictures directly inside compatible terminal emulators.

It can take input from local files, remote URLs, encoded data, standard input or whole directories, making it useful both interactively and as part of shell pipelines. Depending on the terminal and selected mode, it can render with coloured Unicode blocks or use a native graphics protocol for higher-quality output. Optional functionality extends the program beyond static pictures to animation and video playback.

This is free and open source software.

Key Features

  • Loads images from local files, URLs, Base64 strings and standard input.
  • Processes complete directories of images in batch mode.
  • Automatically scales images to the available display dimensions.
  • Provides full-resolution and half-resolution rendering modes.
  • Supports true-colour output in compatible environments.
  • Offers grayscale character-art rendering.
  • Can use a black background when displaying grayscale output.
  • Supports the Kitty graphics protocol.
  • Supports Sixel graphics with configurable colour limits and dithering.
  • Supports the WezTerm and iTerm2 image protocols.
  • Can automatically select an appropriate graphics protocol.
  • Plays animated GIF files with configurable frame rates and looping.
  • Offers optional video playback using FFmpeg.
  • Can associate an audio track with GIF or video playback.
  • Uses parallel processing to accelerate image conversion.
  • Can save rendered character output to a file rather than displaying it.
  • Supports TOML configuration files for defining more complex rendering tasks.
  • Handles common formats including JPEG, PNG, GIF, BMP, ICO, TIFF and WebP.

Website: github.com/yyxxryrx/image_to_console
Support:
Developer: yyxxryrx
License: MIT License

image_to_console is written in Rust. Learn Rust 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 image files
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
ucollageExtensible command line image viewer
TermVisageFront-end to the term-image library
FotoSimple image viewer
rsimgUses crossterm and zune as dependencies
pxvInstant feature rich terminal image viewer
imgcatDisplays images and gifs in your terminal emulator.

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted