Albania

iv – command-line image viewer

iv is a command-line image viewer that displays graphics directly inside compatible terminal emulators. It supports Sixel, iTerm Inline Images and the Kitty Graphics Protocol, selecting an appropriate rendering method for the terminal environment.

The application has evolved beyond viewing conventional image files. Its modular decoding system handles raster images, vector graphics, documents, animations and several specialist formats. This makes it useful for developers and administrators who need to inspect different types of visual content without leaving their terminal.

iv can also convert images between supported formats. Remote images can be retrieved from URLs, while documents containing multiple pages can be inspected individually. Display dimensions and scaling behaviour are configurable to suit different terminal sizes.

Additional decoding components handle diagrams, font previews, QR codes and other content that can be represented graphically. Some functionality depends on external libraries or applications being available.

This is free and open source software.

Key Features

  • Render images using Sixel, iTerm Inline Images and the Kitty Graphics Protocol.
  • Automatically select a suitable terminal graphics protocol.
  • Open individual files and directories of images.
  • Display PNG, JPEG, GIF, WebP, TIFF, BMP and other raster formats.
  • Support HEIC, AVIF, JPEG XL and additional formats through libvips.
  • Display SVG and other vector graphics.
  • Render Graphviz and Mermaid diagrams.
  • View PDF documents, EPUB publications and comic archives.
  • Select individual pages from multipage documents.
  • Display animations, including animated images, Lottie files and video.
  • Configure animation frame rates and looping.
  • Retrieve images from HTTP and HTTPS URLs.
  • Accept data URLs and render QR codes from supported input.
  • Generate previews of font files and icons.
  • Render selected scientific and high-dynamic-range image formats.
  • Convert images between supported formats.
  • Control minimum and maximum image display dimensions.
  • Configure image scaling to fit the available terminal area.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/kenshaw/iv
Support:
Developer: Kenneth Shaw
License: MIT License

Terminal-based image viewer

iv is written in Go. Learn Go 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