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

Uploaded Egg

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

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6c59020a23727818612615fb229235e0f9252c12310e59372373b421f087d18c
MD5 1b1c66196f67375ad6715644586ca459
BLAKE2b-256 1c184631265b2e176ef78e5492d3a8557c9b3bc16d8f8411a244e58419b8aa4d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.1.4-py2.7.egg
Algorithm Hash digest
SHA256 7c74dbd6267c752e1a411a5365b82e732bdfd767eaef91fb145fdb4c697d316e
MD5 0d86f546dfadbb53842d5542e005a360
BLAKE2b-256 b6f70f616696f29bda5774b5fc66fb229ee486293e2f5283be14ab3bbe53da85

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.1.4-py2.6.egg
Algorithm Hash digest
SHA256 5ffd3898c457eac40b140293749cce85c39648cdbba08ee0c50d989f1e20dec5
MD5 03c8eb2cd3f38bcadcb534aa0b82b921
BLAKE2b-256 261e7e8434447343a56994b272202bf0ecb3ee1e310f04ab2787b5cd8a8811b8

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