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
    -!, --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)
    -n, --ncolor=NCOLOR           Specify number of color
    -d, --definition-only         Emit only escape sequences. don't output printable characters
    --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.5.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.5-py2.7.egg (3.2 MB view details)

Uploaded Egg

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

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.1.5.tar.gz
Algorithm Hash digest
SHA256 941c25f4d1e234f93bafcd21c83514738acc2d9dcd9489842e043dac9dc36380
MD5 fb6ea8710184e6acbc3ba24fc96e7720
BLAKE2b-256 5bdbcaacefd5f6537ed37025b828c796bfe3e800e658bd3450c56b860704ade8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.1.5-py2.7.egg
Algorithm Hash digest
SHA256 7c25beebb9520df08ec487579000534fa94cbf8fc2aabf9f4a41c702caca40c3
MD5 e3b52d5e9720e70276fb141a29169911
BLAKE2b-256 9d153bd6eeb3bfcea0f197ef0cd6e25e75c78a1bef1524cbc09bbd1ec8d62a9d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.1.5-py2.6.egg
Algorithm Hash digest
SHA256 d71649bdbe131e003eea04175a0af3950ca1043e048b7351a388b2d54bb30f3f
MD5 1d5c15eb3acd096fefbb490d9377f0af
BLAKE2b-256 5c0f1dbdab8272f9bc83f5a91288213e5f65b7437cfeb37736178a2f9203907f

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