All Projects → jaseg → pixelterm

jaseg / pixelterm

Licence: BSD-2-Clause license
Render pixel images (including animated GIFs) on 256-color ANSI terminals

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

PIXELTERM

A utility to render pixely images on your terminal. Now also with animated GIF support*.

animated example example

*for best results, use tmux (for some reason that reduces flickering)

Installation

Although there is a setup.py I have grown quite frustrated with setuptools and pythons abysmal package handling. Any contributions are welcome.

Usage

pixelterm FILE
gifterm FILE

Advanced usage

Since I wrote this tool to generate graphics for ponysay, I included a "speech bubble" feature. To make this tool render speech bubble markers which can later be parsed by ponysay, color the pixels where these should be placed 50% transparent red (#FF00007F) for a backward slash link, 50% blue for a forward slash and a 50% transparent green for the speech bubble. Please note that this tool converts images two pixel rows at once and these "special" color values are only parsed for the upper of the two rows. An example image is included.

Credits

That awesome Rainbow Dash is by starsteppony on deviantart. Credit for pop tart cat/nyan cat goes to prguitarman from tumblr.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].