skip to navigation
skip to content

Not Logged In

Shellpic 1.3

Display images using escape codes

Latest Version: 1.6.2

-ASCII-art is so 2013.

Shellpic uses escape codes to display images in a terminal or irc-client.

Examples

Running shellpic <image> in a terminal that supports 256-colors will get you something that looks like the image above.

If you happen to have a terminal that is capable of showing true colors, you can use the --shell24-switch to enable 24bit output. It will look something like this:

Shellpic can also be used with irc-clients. Run the script from your client and use the --irc-switch, the result will depend on the client used. This is how it looks in xchat:

Use the --animate (show the animation once, then exit) or --loop (animate and loop forever) to animate gifs. There is a noticable difference between between terminals of how smooth the animation looks. KDE’s konsole seems to handle it well.

Installation

You should have Pillow (>=1.0) installed. Shellpic is tested with Python 2.7.

If you have PIP installed:

sudo pip install Shellpic

If you do not have PIP or want the bleeding edge version of Shellpic:

# clone the repo
git clone https://github.com/larsjsol/shellpic.git
# install the package
cd shellpic
sudo python setup.py install

Changelog

See CHANGES.rst

 
File Type Py Version Uploaded on Size
Shellpic-1.3.tar.gz (md5) Source 2014-04-06 600KB
  • Downloads (All Versions):
  • 13 downloads in the last day
  • 137 downloads in the last week
  • 1043 downloads in the last month