t-r-a-g-e-d-y / tpicview

View images and play gifs in the terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tpicview is a simple tool for displaying images in a terminal using ANSI color codes and the ▀ character.

Supports two sample methods (average and point), GIF playback and an FPS override, and a thumbnail view.

Usage

usage: tpicview [-h] [-sc n] [-sp {average,point}] [-f n] [-hf] [-T]
                [file [file ...]]

View images and play gifs in the terminal.

positional arguments:
  file                  Image(s) to display

optional arguments:
  -h, --help            show this help message and exit
  -sc n, --scale n      Scale factor
  -sp {average,point}, --sample {average,point}
                        Sample method
  -f n, --fps n         Max FPS (for gifs)
  -hf, --hide-fps       Don't print FPS (for gifs)
  -T, --thumbnail       Thumbnail display of files

Requirements

Pillow>=5.2.0

Examples

Gif Playback in a terminal

Gif Playback

Original

Original

Average Sample

Average Sample

Point Sample

Point Sample

About

View images and play gifs in the terminal

License:GNU General Public License v3.0


Languages

Language:Python 100.0%