Skip to content
A command line utility to convert an image to text art
Python
Branch: master
Clone or download
Latest commit 4682d3a Nov 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets Release v1.1 Nov 1, 2019
src/image_to_text_art Release v1.0 Oct 31, 2019
.gitignore Update .gitignore Nov 1, 2019
LICENSE Create LICENSE Oct 31, 2019
README.md
setup.py

README.md

Image to Text Art

A command line utility to convert an image to text art.

Installation

pip install image-to-text-art

Usage

With the -h flag, the program outputs usage information.

usage: img2txt [-h] {config,art} ...

Image to Text Art

positional arguments:
  {config,art}
    config      show config path
    art         transform image to text art

optional arguments:
  -h, --help    show this help message and exit

For an in depth guide to the functionality of the program, navigate to the Wiki.

Example

Consider the following poster:

The following images are screenshots of the outputs of different runs on a terminal with a dark background.

ASCII

Grayscale

img2txt art ascii assets/readme/example.jpg -H

Color

img2txt art ascii assets/readme/example.jpg -H -c

Braille

Grayscale

img2txt art braille assets/readme/example.jpg -H

Color

img2txt art braille assets/readme/example.jpg -H -c

You can’t perform that action at this time.