7 unstable releases (3 breaking)
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 |
#301 in Multimedia
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
~120K SLoC