Configurable image slideshows.
pip install PySlideShow==0.0.6
Configurable image slideshows.
PySlideShow takes images and a JSON file which specifies transition, zoom and pan effects and renders them on the screen via OpenGL.
PySlideShow depends on the following pip packages:
pip install PyGame pip install PyOpenGl pip install enum34 pip install jsonschma pip install numpy
PySlide image slideshows are configured via a JSON file. An example would be the following.
{ "SlideList": [ { "file": "Example/A.GIF" }, { "file": "Example/B.GIF", "begin": { "zoom": 1.3, "offset-x": 0.7, "offset-y": 0.7 }, "end": { "zoom": 1.7, "offset-x": 0.5, "offset-y": 0.5 } } ] }
To try it out simply run it with its prepared example slideshow.
python bin/SlideShow.py --fullscreen Example/slideshow.json
The available command line syntax is the following:
python bin/SlideShow.py [--fullscreen] [--minimal] SLIDESHOW.json --fullscreen Run in fullscreen mode --minimal Run in small window (typically while configuring slideshow) SLIDESHOW.json Slideshow configuration file (see Example/slideshow.json)
While the slideshow is running the following keyboard controls are available:
ESC Stop slideshow F5 Reload slideshow and continue from the current image (not available yet) Right Got to next image Left Got to next image Ctrl + Right Jump 10 images forward Ctrl + Left Jump 10 images back Space Pause/resume slideshow on current slide