View multiple gif files
Project description
MultiGifView
MultiGifView is a bare-bones Python program for viewing several .gif files at once, with their play-back synchronised.
The gifs are opened in two columns.
Installation
Install with pip
$ pip install multigifview
or with conda
$ conda install -c conda-forge multigifview
known issues
Installing an unreleased version with pip from the git repo like this
$ python -m pip install --user https://github.com/johnomotani/multigifview.git
is expected to fail because of a missing man page file. As an alternative,
clone the repo and see DEVELOPMENT.md
for how to install.
Usage
$ multigifview movie1.gif movie2.gif movie3.gif ...
Once the window is opened:
-
play/pause - space, or click play button in bottom left
-
next frame - n, right arrow or seek-forward button in bottom left
-
previous frame - p, left arrow or seek-backward button in bottom left
-
end - e, down arrow, or skip-forward button in bottom left
-
beginning - b, up arrow, or skip-backward button in bottom left
-
zoom out - - or zoom-out button at bottom
-
zoom in - + or zoom-in button at bottom
-
zoom to scale factor - enter number (in %) into box in bottom panel and press enter
-
quit - q, Ctrl-q, Ctrl-w, Ctrl-x, button in bottom right or close the window
Command line argumens:
-c, --max-columns <i>
: use at most <i>
columns for display
-h, --help
: print help text
-n, --no-titles
: turn off titles over each gif
-v, --version
: print the version number
-z, --zoom
: set the initial zoom level in %
In Python code
MultiGifView can be used from within Python code.
>>> from multigifview import show_gifs
>>> show_gifs("gif1.gif", "gif2.gif")
Any number of gifs can be passed as positional arguments. max_columns
can
be passed as a keyword argument. An argument titles=False
can be passed to
turn off titles above gifs.
Contributing
Contributions are welcome at the Github repo. For some notes on developing MultiGifView see DEVELOPMENT.md.
Acknowledgements
Contributors: John Omotani
Thanks
From John Omotani to Peter Hill for writing the gui for hypnotoad from which I learned to make a Qt gui in Python.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for multigifview-0.2.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11c3ef98892181140ce2dbe1733be503c0429d4f944b086a06d7ebfd4e99c7b6 |
|
MD5 | 58b23bbb6b09e7a9423c25b6f92eb4c2 |
|
BLAKE2b-256 | 1eb3aa98d02ed4b36509da11ab125dc30ba4bbf2595be0cc8fea4f69a0bf9ee5 |