Skip to content

MalloryA/vv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vv - terminal image viewer

Screenshot

With vv you can display image files directly in your terminal. This works both locally and over remote connections. An extensive range of modern image formats is supported. Image data is displayed in full color, without any color space reduction or dithering. Images are scaled to fit the available space in the terminal. Small images can be upscaled.

Image formats

The following types of image files can be viewed in vv:

  • BC (Block Compression, also known as DXTC, S3TC), in DDS container,
  • OpenEXR HDR images,
  • HEIF (High Efficiency Image File Format),
  • AVIF (AV1 Image File Format),
  • JPEG,
  • JPEG XL,
  • PCX,
  • PNG,
  • ETC (Ericsson Texture Compression), in PVR container,
  • RAW, digital camera negatives, virtually all formats,
  • TGA,
  • BMP,
  • PSD (Photoshop),
  • GIF (animations not supported),
  • RGBE (Radiance HDR),
  • PIC (Softimage),
  • PPM and PGM (only binary),
  • TIFF,
  • WebP.

Tone mapping

OpenEXR HDR images are properly tone mapped using the Khronos PBR Neutral operator.

HDR image

Transparency

Images with an alpha channel are rendered with transparency over the terminal background color. If this is not suitable, vv gives you the option to render the image with either a checkerboard background or a solid color backdrop of your choice.

Transparent image

Terminal support

In order to be able to view images with vv, you need to use a terminal that implements the Kitty graphics protocol. If your terminal can't do this, vv will work in a text-only fallback mode with greatly reduced image resolution.

Text mode

Certain terminal features, such as Unicode fonts or true color support, are assumed to be always available.

On some terminals (e.g. Konsole), images may appear pixelated when using a high DPI monitor. This problem is caused by implementation details of the terminal itself, and cannot be fixed by vv. Try a different terminal if this bothers you.

About

Terminal image viewer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 42.1%
  • C 39.8%
  • CMake 18.1%