#ansi #terminal #pixel #image #cli

app pixterm

A CLI to show images in a terminal

7 unstable releases (3 breaking)

Uses new Rust 2021

0.4.0 Jun 23, 2022
0.3.0 Jun 23, 2022
0.2.1 Jun 10, 2022
0.1.2 Jan 13, 2022
0.1.0 Dec 10, 2021

#1391 in Command line utilities

Download history 9/week @ 2022-03-11 12/week @ 2022-03-18 1/week @ 2022-03-25 3/week @ 2022-04-08 3/week @ 2022-04-22 18/week @ 2022-04-29 21/week @ 2022-05-06 52/week @ 2022-05-13 12/week @ 2022-05-20 18/week @ 2022-05-27 22/week @ 2022-06-03 35/week @ 2022-06-10 37/week @ 2022-06-17 29/week @ 2022-06-24

126 downloads per month

GPL-3.0-only

21KB
131 lines

pixterm

A CLI to show images in a terminal

Usage

pixterm [FLAGS] [OPTIONS] <file>

Arguments

name description
file Path to image file to display

Flags

short long description
-h --help Prints help information
-r --raw Print escape sequences literal
-s --silent Do not print to stdout. Useful with --outfile
-V --version Prints version information

Options

short long description default
-W --width Maximum width in pixels of the resized image. Also see --height 32
-H --height Maximum height in pixels of the resized image. Also see --width 32
-o --outfile File to write the resulting string into. See --raw to get literal escape sequences and --silent to suppress stdout None
-t --threshold Minimum alpha value of a pixel for it to be shown 50

Dependencies

~8MB
~113K SLoC