Make DRCS glyphs for DEC VT-series from image files
Project description
Install
via github
$ git clone https://github.com/saitoha/PyDRCS.git pydrcs $ cd pydrcs $ python setup.py install
or via pip
$ pip install PyDRCS
Usage
Command line tool:
$ drcsconv [options] filename
or
$ cat filename | drcsconv [options]
Options:
-h, --help show this help message and exit -8, --8bit-mode Generate a DRCS image for 8bit terminal or printer -7, --7bit-mode Generate a DRCS image for 7bit terminal or printer -u, --unicode Use drcsterm's DRCS-unicode mapping -n, --negate Negate image -c COLUMNS, --columns=COLUMNS Image width in cell size (default=62, max=62) -r ROWS, --rows=ROWS Image height in cell size --version show version
Code Example
from drcs import DrcsWriter writer = DrcsWriter() writer.draw('test.png')
Dependency
Python Imaging Library (PIL) http://www.pythonware.com/products/pil/
Reference
VT320 Soft Character Sets http://vt100.net/dec/vt320/soft_characters
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyDRCS-0.0.2.tar.gz
(16.6 kB
view hashes)
Built Distributions
PyDRCS-0.0.2-py2.7.egg
(9.3 kB
view hashes)
PyDRCS-0.0.2-py2.6.egg
(9.3 kB
view hashes)