63134918166a316a5f76af9f1dcdfcb61c425ec7
If the window defined in src/mainwindow.ui exceeds the size of the display, the program behaves weirdly. Growing the window size even further leads to crashes. Reducing the window size to 1x1px seems to work fine and should be smaller than any display size.
slide
Simple, lightweight slideshow selecting random images from specified directory. This slideshow is designed to compile and run also on a Raspberry Pi, for example to turn it into a digital picture frame.
Tested versions:
- Raspberry Pi 3 running Raspbian Stretch.
- Raspberry Pi 3 running Raspbian Buster.
Screen background is filled with a scaled version of the image to prevent pure black background.
Usage
slide [-t rotation_seconds] [-o background_opacity(0..255)] [-b blur_radius] -p image_folder -r
image_folder: where to search for images (.jpg files)-rfor recursive traversal ofimage_folder-sfor shuffle instead of random image rotation-Sfor sorted rotation (files ordered by name, first images then subfolders)rotation_seconds(default=30): time until next random image is chosen from the given folderbackground_opacity(default=150): opacity of the background filling image between 0 (black background) and 255blur_radius(default=20): blur radius of the background filling image
Dependencies
- libexif
- qt5
sudo apt install libexif12 qt5-default
Build
dev libs needed to build slide on from source:
sudo apt install libexif-dev
mkdir -p make
cd make
qmake ../src/slide.pro
make
sudo make install
macOS
Prerequisite: brew
brew install qt5
brew install libexif
mkdir -p build
cd build
qmake ../src/slide.pro
make
Languages
C++
95.1%
Shell
2.7%
QMake
1.4%
Makefile
0.7%
C
0.1%
