timg
Display an image in terminal.
Setup
timg is available as a package on PyPI:
$ pip install timg
Now you can use the timg command in your terminal.
Screenshots
Usage
usage: timg [-h] [-V] [-i] [-m METHOD] [-r N] [-s W] [filename]
print an image in terminal
positional arguments:
filename filename of an image
optional arguments:
-h, --help show this help message and exit
-V, --version print version and exit
-i, --invert-background
invert grayscale in ASCII mode
-m METHOD, --method METHOD
name of a rendering method (use `-m list` to list
available methods, the default is a24h)
-r N, --reduce-colors N
reduce color palette of an input image (1-256)
-s W, --size W width of an image
zsh completions
Add this line to .zshrc
compdef _gnu_generic timg
Metadata
Release files for timg 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| timg-1.2.0.tar.gz | 13.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| timg-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.6 kB
Release files / timg-1.2.0.tar.gz
| Download URL | timg-1.2.0.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c267db8a69c6419ce3021080c1dd43150cdd09ff55ee54c2b8c17ae5e0e477c1
|
|
BLAKE2b-256 checksum How to use checksums |
34adfd2b637afaa56d87783a2fa1144bae66f60e285733952de5926a0497eb96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / timg-1.2.0-py3-none-any.whl
| Download URL | timg-1.2.0-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b036a938b246c2fc4bcff255517030f39535139d2fa7b5a09b012bcfe08c6015
|
|
BLAKE2b-256 checksum How to use checksums |
cc3a7e16252adfcd7adc1481ea080964ada0f229072a09da56fcdc2c7bc89954
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|