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 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