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.1.6.tar.gz
(7.1 kB
view details)
Built Distribution
timg-1.1.6-py3-none-any.whl
(8.7 kB
view details)
File details
Details for the file timg-1.1.6.tar.gz
.
File metadata
- Download URL: timg-1.1.6.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 938d939ac3502300f7b9e3daadf5da0f88c5b86fde5882d73b43a9d028bd4bfd |
|
MD5 | 7237154bad05a29aa5b3736b63c034eb |
|
BLAKE2b-256 | 43be0fd86bfe3865664c8aaecb292fa344be27a648f6889889417a3b426b1f66 |
File details
Details for the file timg-1.1.6-py3-none-any.whl
.
File metadata
- Download URL: timg-1.1.6-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e981277c18a3aac8b1215fa354a085723296a9e1c701106187642b82f53cca4 |
|
MD5 | 6820dcd2b64302d94525a1bde91cdd75 |
|
BLAKE2b-256 | eff8451b79ab4b273383f02c364079e66375271a4cf349ab6baec922665007d5 |