Metadata-Version: 2.1
Name: img-term
Version: 1.0.2
Summary: A small script to render images to an ANSI terminal
Home-page: https://github.com/jonnoFTW/img_term
Author: Jonathan Mackenzie
License: UNKNOWN
Project-URL: Bug Reports, https://github.com/jonnoFTW/img_term/issues
Project-URL: Source, https://github.com/jonnoFTW/img_term/
Keywords: terminal ansi fun
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
Requires-Dist: numba
Requires-Dist: numpy
Requires-Dist: opencv-python

Image 2 ANSI
=
Converts an image to a representation in ANSI

Installation
-
1. 
```bash
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 
```bash
img_term -img dog.jpg 
```

Render your video capture device to terminal:
```bash
img_term
```

Select a colour palette:

```bash
./img_term.py -img lena.jpg -col 24
```

Example
-
Go from this:

![Dog](/dog.jpg)

To this:

![Screenshot](/screenshot.png)


Or this

![Lenna](/lena.jpg)

To this:

![LenaPixel](/screenshot2.png)

Or even render a video:

```bash
./img_term.py -col 24 -vid unrealset.mkv -width 78
```

https://gfycat.com/IdolizedSomeGemsbuck

Or simply stream your USB camera to terminal!:

https://gfycat.com/RemarkablePalatableKob

