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.2.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.2-py2.7.egg (3.2 MB view details)

Uploaded Egg

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

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1660dc110e2ad17bc13d5313179ed6d9c065585a9b1049944d5ef008b7231e86
MD5 ed1cef8b642c7fe17a273b15b6302d2d
BLAKE2b-256 67d6bba6de0c47c754fb5a4bdca70f470df930fbcfbc3aaceed7d14836022c19

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.1.2-py2.7.egg
Algorithm Hash digest
SHA256 8981a3c54cc951fd1d8b7babc5a18e7aa440f3b53791cf7a6dd996c17d420892
MD5 706c9332a83b6dd65a98783becbd06c5
BLAKE2b-256 fa5a68001e8cd37392d88d6e1b536d75aaa66d3db3922dda6c10529abd2de221

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.1.2-py2.6.egg
Algorithm Hash digest
SHA256 f8f980c86d6550804509511897eef0e52e5e3bb0f7c43e543787a4846f57b52e
MD5 ed0ba9b8da73a51f1eb50da95a685c9b
BLAKE2b-256 9832ea537d09fa30f6c721d68990211818b1f1c15732eec6cc1308cd15cb5c1f

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