Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

artemsen/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.