Skip to main content

A small script to render images to an ANSI terminal

Project description

Image 2 ANSI

Converts an image to a representation in ANSI


pip install img_term


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:


Select a colour palette:

./ -img lena.jpg -col 24


Go from this:


To this:


Or this


To this:


Or even render a video:

./ -col 24 -vid unrealset.mkv -width 78

Or simply stream your USB camera to terminal!:

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

img_term-1.0.2.tar.gz (7.3 kB view hashes)

Uploaded source

Built Distributions

img_term-1.0.2-py3.7.egg (16.5 kB view hashes)

Uploaded 3 7

img_term-1.0.2-py3-none-any.whl (8.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page