Skip to main content

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
    -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)
    --ncolor=NCOLOR               Specify number of color
    --version                     show version

Code Example

from drcs import DrcsWriter
writer = DrcsWriter()
writer.draw('test.png')

Dependency

Reference

Project details


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.1.1.tar.gz (3.1 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

PyDRCS-0.1.1-py2.7.egg (3.2 MB view details)

Uploaded Egg

PyDRCS-0.1.1-py2.6.egg (3.2 MB view details)

Uploaded Egg

File details

Details for the file PyDRCS-0.1.1.tar.gz.

File metadata

  • Download URL: PyDRCS-0.1.1.tar.gz
  • Upload date:
  • Size: 3.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyDRCS-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ffcb8830f3d457ed62061137afd7bcdca4113592f87e338f139b26443bc0588d
MD5 b70431fb067532f13c7103ca16e6ba6a
BLAKE2b-256 fec67d877995caba2ffe385a204e3886bdcd766732b8fde9b574d32db3dab021

See more details on using hashes here.

File details

Details for the file PyDRCS-0.1.1-py2.7.egg.

File metadata

  • Download URL: PyDRCS-0.1.1-py2.7.egg
  • Upload date:
  • Size: 3.2 MB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyDRCS-0.1.1-py2.7.egg
Algorithm Hash digest
SHA256 fde0ea6ca78e16d8a51f63a7b7f60f7d5116aa2195773b82922b39342efb2362
MD5 fdefef6406d74c3c0502b483ba9124e6
BLAKE2b-256 bf7dd12778579527b23eb42e51bd087ce47fcc8fbcdc8bbd4fca7ff7742f9198

See more details on using hashes here.

File details

Details for the file PyDRCS-0.1.1-py2.6.egg.

File metadata

  • Download URL: PyDRCS-0.1.1-py2.6.egg
  • Upload date:
  • Size: 3.2 MB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyDRCS-0.1.1-py2.6.egg
Algorithm Hash digest
SHA256 d6e5f2572bd0665ca9595f0c9a025ba3222d71f2b7083603884b9fe2ec20b0be
MD5 15937a45c0aa923782fcf0568c18bf86
BLAKE2b-256 faa759b759b5031d14def43d07e5ea25ea151e0e4569cd928466eeffbcac16e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page