Skip to content

ckardaris/picterm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Picterm: preview images in terminal window

CI

Creates a new X11 window as a child of the currently focused one (e.g. terminal window), loads the image from the specified file, and draws the image inside the new window.

Screenshot

Supported image formats

  • JPEG (via libjpeg);
  • PNG (via libpng);
  • GIF (via giflib, without animation).

Key bindings

  • Arrows and vim-like moving keys (hjkl): Move view point;
  • +, =: Zoom in;
  • -: Zoom out;
  • Backspace: Set optimal scale: 100% or fit to window;
  • 1, 2, ..., 0: Set scale to 10%, 20%, ..., 100%;
  • Esc, Enter, F10, q, e, x: Exit the program.

Build and install

./configure
make
make install

Arch users can install the program via AUR.

About

Preview images in terminal window

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 92.9%
  • Roff 4.7%
  • M4 1.6%
  • Makefile 0.8%