Skip to main content

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)

Source distribution for timg 1.2.0
File Size Uploaded
timg-1.2.0.tar.gz 13.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for timg 1.2.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page