All Projects → larsjsol → Shellpic

larsjsol / Shellpic

Licence: gpl-3.0
ASCII-art is so 2013

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Shellpic

asciisciit
ASCII Art, Video, and Plotting Toolbox
Stars: ✭ 71 (-24.47%)
Mutual labels:  gif, terminal-based
Irc
A simple go irc library meant to be a building block for other projects
Stars: ✭ 90 (-4.26%)
Mutual labels:  irc
Minecraft Wrapper
A simple & intuitive Minecraft Server wrapper. Supports IRC, backups, a plugin system, and more.
Stars: ✭ 77 (-18.09%)
Mutual labels:  irc
Swiftgif
[UNMAINTAINED] 🌠 A small UIImage extension with gif support
Stars: ✭ 1,255 (+1235.11%)
Mutual labels:  gif
Abmediaview
Media view which subclasses UIImageView, and can display & load images, videos, GIFs, and audio and from the web, and has functionality to minimize from fullscreen, as well as show GIF previews for videos.
Stars: ✭ 79 (-15.96%)
Mutual labels:  gif
Cacher Cli
The command line interface to Cacher.
Stars: ✭ 85 (-9.57%)
Mutual labels:  terminal-based
Emacs Gif Screencast
[MOVED TO GITLAB] One-frame-per-action GIF recording for optimal quality/size ratio
Stars: ✭ 74 (-21.28%)
Mutual labels:  gif
Kgif
Tool for creating gif file from capturing active window.
Stars: ✭ 94 (+0%)
Mutual labels:  gif
Node Sorry
生成表情gif
Stars: ✭ 90 (-4.26%)
Mutual labels:  gif
Notgif
Play & Share your GIFs in Photos
Stars: ✭ 84 (-10.64%)
Mutual labels:  gif
Localslackirc
IRC gateway for slack, running on localhost for one user
Stars: ✭ 84 (-10.64%)
Mutual labels:  irc
Twitchirc Unity
lightweight IRC client component for use with the Unity Engine.
Stars: ✭ 81 (-13.83%)
Mutual labels:  irc
Flowabot
Modular Discord bot with fun features including twitch commands and advanced osu! commands. 🌷
Stars: ✭ 86 (-8.51%)
Mutual labels:  gif
Superseriousstats
superseriousstats is a fast and efficient program to create statistics out of various types of chat logs
Stars: ✭ 78 (-17.02%)
Mutual labels:  irc
Irccat
cat to IRC
Stars: ✭ 91 (-3.19%)
Mutual labels:  irc
Toolgif
💭 The only GIF tooltip plugin you need
Stars: ✭ 75 (-20.21%)
Mutual labels:  gif
Android Gif Drawable
Views and Drawable for displaying animated GIFs on Android
Stars: ✭ 8,987 (+9460.64%)
Mutual labels:  gif
Gifcompressor
An Android tool to compresses your GIFs into lightweight MP4 video using fast, hardware-accelerated encoders. Supports cropping, rotation, GIF concatenation and much more.
Stars: ✭ 85 (-9.57%)
Mutual labels:  gif
Modern Irc
A useful overview and reference to the IRC client protocol as it is implemented today.
Stars: ✭ 94 (+0%)
Mutual labels:  irc
Livelygifs
An app show your Live Photo and export as GIF.
Stars: ✭ 92 (-2.13%)
Mutual labels:  gif

Shellpic

-ASCII-art is so 2013.

Shellpic uses escape codes to display images in a terminal, IRC or NUTS client.

Examples

.. image:: https://raw.github.com/larsjsol/shellpic/master/img/shell8.png
    :alt: Lenna displayed with a color depth of 8 bits.

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:

.. image:: https://raw.github.com/larsjsol/shellpic/master/img/shell24.png
    :alt: Lenna displayed with a color depth of 24 bits.

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:

.. image:: https://raw.github.com/larsjsol/shellpic/master/img/irc.png
    :alt: Lenna displayed in 16 colors by xchat.

The --nuts-switch will do the same, but for NUTS talkers. This is how it looks in konsole:

.. image:: https://raw.github.com/larsjsol/shellpic/master/img/nuts.png
    :alt: Farnsworth and imp displayed in 16 colors in a NUTS talker

The --tinymux-switch will also do that, generating 256 color images for TinyMUX servers.

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.

.. image:: https://raw.github.com/larsjsol/shellpic/master/img/imp_shell24.gif
    :alt: An animated gif shown in a terminal.

Installation

You should have Pillow_ (>=2.6) and python development files installed. Shellpic works with Python 2.6, 2.7, 3.3 and 3.4. It will not work with Python 2.5 or 3.2.

.. _Pillow: https://pypi.python.org/pypi/Pillow

If you have PIP installed:

.. code:: sh

sudo pip install Shellpic

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

.. code:: sh

# clone the repo
git clone https://github.com/larsjsol/shellpic.git
# optional - run tests
./shellpic/tests/run_tests.sh
# install the package
cd shellpic
sudo python setup.py install

Changelog

See CHANGES.rst <https://github.com/larsjsol/shellpic/blob/master/CHANGES.rst>_

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].