Image Compression Tools

vat – render vector graphics in your terminal

vat is a focused command-line utility for viewing vector artwork without opening a conventional graphical image viewer.

It takes vector graphics and rasterises them for display directly inside a terminal supporting the Kitty graphics protocol. Its supported inputs make it particularly interesting to developers working with web, Android and Jetpack Compose graphics, as the same tool can inspect SVG files, Android Vector Drawables and Compose ImageVectors. Compatible terminal emulators include Kitty, Ghostty and WezTerm.

This is free and open source software.

Key Features

  • Renders Scalable Vector Graphics directly inside a compatible terminal.
  • Displays Android Vector Drawable artwork.
  • Supports vector assets represented as Compose ImageVectors.
  • Uses the Kitty graphics protocol for displaying rendered output.
  • Works with multiple terminal emulators implementing the Kitty protocol.
  • Accepts the artwork to render as a command-line file argument.
  • Provides a configurable scale factor for resizing rendered graphics.
  • Lets users specify a background colour in hexadecimal RGBA notation.
  • Offers a concise command-line interface suitable for scripts and development workflows.
  • Provides native distribution builds rather than requiring a persistent graphical application.
  • Can also be executed as a Java archive on platforms where that deployment method is preferable.
  • Uses the vgo vector graphics library for parsing and rendering supported artwork.
  • Fits naturally into workflows where developers want to inspect graphical resources alongside source files.
  • Avoids the need to switch to a separate desktop image viewer merely to inspect a vector asset.

Website: github.com/jzbrooks/vat
Support:
Developer: Justin Brooks
License: MIT License

vat in action

vat is written in Kotlin. Learn Kotlin 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