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 --version show version
Code Example
from drcs import DrcsWriter
writer = DrcsWriter()
writer.draw('test.png')
Dependency
Python Imaging Library (PIL) http://www.pythonware.com/products/pil/
Reference
VT320 Soft Character Sets http://vt100.net/dec/vt320/soft_characters
Project details
Release history Release notifications | RSS feed
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.0.2.tar.gz
(16.6 kB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
PyDRCS-0.0.2-py2.7.egg
(9.3 kB
view details)
PyDRCS-0.0.2-py2.6.egg
(9.3 kB
view details)
File details
Details for the file PyDRCS-0.0.2.tar.gz.
File metadata
- Download URL: PyDRCS-0.0.2.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb80f63d3044b1fac25987b20af7942a2540cc6b8d0c30acc44e103e75541e27
|
|
| MD5 |
bc9f9b3d37145c974d7de16d8ba038c6
|
|
| BLAKE2b-256 |
8082aa24bae46212ed74f6a9e1897b622e164a177bb2d7795ae0e91b292230ec
|
File details
Details for the file PyDRCS-0.0.2-py2.7.egg.
File metadata
- Download URL: PyDRCS-0.0.2-py2.7.egg
- Upload date:
- Size: 9.3 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cafa4b86d68a78a8dad0ea9dd2f90801568c861c2fa74c2eed76770c288a8461
|
|
| MD5 |
1c2ef91d03ef92d436c5b46891223421
|
|
| BLAKE2b-256 |
5f609f36f000a284db7366e3041b8b1d0632a4f2655a9da67cea57e5a78ab786
|
File details
Details for the file PyDRCS-0.0.2-py2.6.egg.
File metadata
- Download URL: PyDRCS-0.0.2-py2.6.egg
- Upload date:
- Size: 9.3 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68e9f0849fe108ef842ccf1c82b3b88b0a3c534ddc52e5ead1762e078e969abd
|
|
| MD5 |
0ac729b9802e7ee6bdb6126cad409ddb
|
|
| BLAKE2b-256 |
8875440b268cedb02717e8d732f750280e138cce2231f447449f5e78a8651f23
|