Skip to main content

Make SIXEL color graphics supported by some terminal emulators(RLogin/mlterm/tanasinn)

Project description

Install

via github

$ git clone https://github.com/saitoha/PySixel.git
$ cd pysixel
$ python setup.py install

or via pip

$ pip install PySixel

Usage

Command line tool:

$ sixelconv [options] filename

or

$ cat filename | sixelconv [options]
  • Options:

    -h, --help                                            show this help message and exit
    -8, --8bit-mode                                       Generate a sixel image for 8bit terminal or printer
    -7, --7bit-mode                                       Generate a sixel image for 7bit terminal or printer
    -r, --relative-position                               Treat specified position as relative one
    -a, --absolute-position                               Treat specified position as absolute one
    -x LEFT, --left=LEFT                                  Left position in cell size, or pixel size with unit 'px'
    -y TOP, --top=TOP                                     Top position in cell size, or pixel size with unit 'px'
    -w WIDTH, --width=WIDTH                               Width in cell size, or pixel size with unit 'px'
    -e HEIGHT, --height=HEIGHT                            Height in cell size, or pixel size with unit 'px'
    -t ALPHATHRESHOLD, --alpha-threshold=ALPHATHRESHOLD   Alpha threshold for PNG-to-SIXEL image conversion
    -c, --chromakey                                       Enable auto chroma key processing

Code Example

import sixel
writer = sixel.SixelWriter()
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

PySixel-0.0.6.tar.gz (17.7 kB view details)

Uploaded Source

Built Distributions

PySixel-0.0.6-py2.7.egg (13.9 kB view details)

Uploaded Egg

PySixel-0.0.6-py2.6.egg (13.9 kB view details)

Uploaded Egg

File details

Details for the file PySixel-0.0.6.tar.gz.

File metadata

  • Download URL: PySixel-0.0.6.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PySixel-0.0.6.tar.gz
Algorithm Hash digest
SHA256 4b56e5010f10ebe9ef5294926e1131ee734cba0f4b84f566882874cbf481a382
MD5 7b78637410d907c452886d71ef2744d6
BLAKE2b-256 eff3fb7261e4a42600c91bbcfbd922e184f94abce3143ec135049f4a3fb3e0ab

See more details on using hashes here.

File details

Details for the file PySixel-0.0.6-py2.7.egg.

File metadata

  • Download URL: PySixel-0.0.6-py2.7.egg
  • Upload date:
  • Size: 13.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PySixel-0.0.6-py2.7.egg
Algorithm Hash digest
SHA256 f5862692808337d1c44bc77cf05b97cf2f268b58fa01f67cbf62b2218d008c5f
MD5 1f327d78c3c41c2578bb86f3dfe972c4
BLAKE2b-256 a696e6eb2811af2a6686a8bc79f8c6e91076c2cfbe5750298936f5e82e78157e

See more details on using hashes here.

File details

Details for the file PySixel-0.0.6-py2.6.egg.

File metadata

  • Download URL: PySixel-0.0.6-py2.6.egg
  • Upload date:
  • Size: 13.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PySixel-0.0.6-py2.6.egg
Algorithm Hash digest
SHA256 779d8fd8e3248bbc630ed3b892d8ec600f9a31e4692fb03d81758cb819abc579
MD5 ac13b2e8b456c77bca1d8657b42240af
BLAKE2b-256 5ce5355c596d66ab1377ede15670e3eea7b0b24e0d6b70db877b2366096c0b59

See more details on using hashes here.

Supported by

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