Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thcipriani/stdgif
Standard output for gifs
https://github.com/thcipriani/stdgif
Last synced: 3 months ago
JSON representation
Standard output for gifs
- Host: GitHub
- URL: https://github.com/thcipriani/stdgif
- Owner: thcipriani
- License: gpl-3.0
- Created: 2016-07-11T23:51:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-12T04:06:42.000Z (over 8 years ago)
- Last Synced: 2024-07-11T18:48:02.281Z (4 months ago)
- Language: Python
- Size: 21.5 KB
- Stars: 73
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
stdgif
======Standard output for gifs.
Dumps gifs to stdout or creates shell scripts that can be sourced from a
``.bashrc`` or other shell initialization file... image:: http://tyler.zone/stdgif-bootie-dog.gif
:alt: Bootie Dog approved.. image:: http://tyler.zone/stdgif-readme.gif
:alt: Jerimiah Johnson approved.. image:: http://tyler.zone/stdgif-spiderman.gif
:alt: Spiderman Mind BlownThe clever algorithm (that I had nothing to do with) that shows
amazing ANSI renderings of images was ported from Stefan Haustein's
TerminalImageViewer_... _TerminalImageViewer: https://github.com/stefanhaustein/TerminalImageViewer
Use ``pip`` to install::
pip install stdgif
Requirements:
* Requests_
* Pillow_.. _Requests: http://docs.python-requests.org
.. _Pillow: https://python-pillow.org/Usage::
stdgif [-h] [-w WIDTH] [-f] [-d DELAY] [-o OUTPUT] [-s SEPERATOR] img
-w , --width
Set the output width of the resulting gif
-f, --forever
Loop the gif in the terminal until you hit Ctrl-C
-d , --delay
Delay in seconds between frames of the gif
-o , --output
Generate bash script path, if this option is passed, rather than output
the gif on stdout, stdgif will generate a bash script that can be executed
to show the gif. This bash script is, of course, suitable for sourcing
from a ``.bashrc`` or other shell initialization file.-s , --seperator
The value of will be printed between each frame of the gif
img
The gif that you want to show