ckardaris / picterm

Preview images in terminal window

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:C++ 93.0%Language:Roff 4.7%Language:M4 1.6%Language:Makefile 0.8%