Image 2 ANSI
Converts an image to a representation in ANSI
Installation
pip install img_term
Usage
usage: img_term [-h] [-img IMG] [-width WIDTH] [-cam CAM] [-col {4,8,24}]
Display image to terminal
optional arguments:
-h, --help show this help message and exit
-img IMG Image file to display
-width WIDTH Character width of output
-cam CAM Show camera, this is the default
-col {4,8,24} Colour scheme to use
Display an image in terminal
img_term -img dog.jpg
Render your video capture device to terminal:
img_term
Select a colour palette:
./img_term.py -img lena.jpg -col 24
Example
Go from this:
To this:
Or this
To this:
Or even render a video:
./img_term.py -col 24 -vid unrealset.mkv -width 78
https://gfycat.com/IdolizedSomeGemsbuck
Or simply stream your USB camera to terminal!:
Metadata
Release files for img-term 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| img_term-1.0.2.tar.gz | 7.3 kB | Without provenance | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| img_term-1.0.2-py3.7.egg | Legacy Egg format | - | - | Details |
| img_term-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.8 kB
Release files / img_term-1.0.2.tar.gz
| Download URL | img_term-1.0.2.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e300a52fd6b31f3bce21067de21230c117f1aa2b000add9fd312d9a8d3f0fdd
|
|
BLAKE2b-256 checksum How to use checksums |
ce2dab02d9dc589b558e64b8530aa881a87e3e8e6efc7a3478c02c28e417635a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Release files / img_term-1.0.2-py3.7.egg
| Download URL | img_term-1.0.2-py3.7.egg |
|---|---|
| Size | 16.5 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
c9f0ee6554a519c4e732a74c18bcdfdfbd816fe1b95d726c32e40cdb43400333
|
|
BLAKE2b-256 checksum How to use checksums |
b074f843ac7aecd7b950f6a5e1228aba1f20f19d6ba00abe0a23eabb4c029896
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Release files / img_term-1.0.2-py3-none-any.whl
| Download URL | img_term-1.0.2-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf3ee7a6609a39b65261c2a14ef672ebb5dce2b16002253be68aa09b63a442a5
|
|
BLAKE2b-256 checksum How to use checksums |
a2f26081a21f66a3455ea6cf3438d29e3acd0341846694de7d611d9c98a2a82c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Security for img-term 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.