#viewer #image-viewer

bin+lib timg

Interactive Image Viewer on Terminal (xterm)

7 stable releases

2.1.0 May 2, 2023
2.0.1 Apr 19, 2023
1.2.0 Feb 20, 2023

#2186 in Command line utilities

34 downloads per month

MIT license

8.5MB
759 lines

The image viewer on the terminal is based on the xterm standard. This is an interactive image viewer with very fast IO speed on the terminal, utilizing incremental output and other methods to significantly reduce IO data. It can perform well on low-speed terminals.

Functions

  • Zoom Picture
  • Rotate Picture
  • Mirror image
  • Inverted image
  • Grayscale image
  • Change interpolation algorithm
  • Change background color
  • Adjusting the output color difference threshold to improve output speed

Rendering

example1 example2 example3

Info

crate: https://crates.io/crates/timg

Due to the current implementation of the software reading one character at a time appearing to be unavailable on Windows systems, it may result in the software being unavailable or not meeting your expectations when running on Windows systems.

Dependencies

~9MB
~135K SLoC