Skip to content

Render pixel images (including animated GIFs) on 256-color ANSI terminals

License

Notifications You must be signed in to change notification settings

jaseg/pixelterm

Repository files navigation

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.

About

Render pixel images (including animated GIFs) on 256-color ANSI terminals

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published