print an image in terminal
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
timg-1.2.0.tar.gz
(13.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
timg-1.2.0-py3-none-any.whl
(12.9 kB
view details)
File details
Details for the file timg-1.2.0.tar.gz.
File metadata
- Download URL: timg-1.2.0.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c267db8a69c6419ce3021080c1dd43150cdd09ff55ee54c2b8c17ae5e0e477c1
|
|
| MD5 |
70dbb8b1d395312ac45841eedc22b97f
|
|
| BLAKE2b-256 |
34adfd2b637afaa56d87783a2fa1144bae66f60e285733952de5926a0497eb96
|
File details
Details for the file timg-1.2.0-py3-none-any.whl.
File metadata
- Download URL: timg-1.2.0-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b036a938b246c2fc4bcff255517030f39535139d2fa7b5a09b012bcfe08c6015
|
|
| MD5 |
cdb79d46fe4013867e3a12bec95d1b25
|
|
| BLAKE2b-256 |
cc3a7e16252adfcd7adc1481ea080964ada0f229072a09da56fcdc2c7bc89954
|