Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.03 KB

README.md

File metadata and controls

33 lines (26 loc) · 1.03 KB

Image To Braille

Covers a given image to a unicode version using braille characters and color escapses.

Basic Example

Original

python braille.py /tmp/it-is-GNU-SLASH-linux.png -s 4 -c 50 --background white

After

Usage

usage: braille.py [-h] [-c C] [-s S] [--nocolor] [--irc] [--invert]
                  [--background BACKGROUND]
                  file

positional arguments:
  file                  The image file to render

optional arguments:
  -h, --help            show this help message and exit
  -c C                  The luma cutoff amount, from 0 to 255. Default 50
  -s S                  Size modifier. Default 1.0x
  --nocolor             Don't use color
  --irc                 Use IRC color escapes
  --invert              Invert the image colors
  --background BACKGROUND
                        The color to display for full alpha transparency

Requirements