skip to navigation
skip to content

Not Logged In

PyDRCS 0.0.5

Make DRCS glyphs for DEC VT-series from image files

Latest Version: 0.1.6

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
    -t, --text                    Interpret input stream as a text run
    -f FONT, --font=FONT          Specifies the absolute path of font file if -t option is set (default: GNU unifont)
    --version                     show version
    

Code Example

from drcs import DrcsWriter
writer = DrcsWriter()
writer.draw('test.png')
 
File Type Py Version Uploaded on Size
PyDRCS-0.0.5-py2.6.egg (md5) Python Egg 2.6 2013-05-01 3MB
PyDRCS-0.0.5-py2.7.egg (md5) Python Egg 2.7 2013-05-01 3MB
PyDRCS-0.0.5.tar.gz (md5) Source 2013-05-01 2MB
  • Downloads (All Versions):
  • 59 downloads in the last day
  • 505 downloads in the last week
  • 2808 downloads in the last month