41 lines
1.0 KiB
Markdown
41 lines
1.0 KiB
Markdown
# 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.
|
|
|
|
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
|
|
```
|
|
|
|
* `image_folder`: where to search for images (.jpg files), currently non-recursively
|
|
* `rotation_seconds(default=30)`: time until next random image is chosen from the given folder
|
|
* `background_opacity(default=150)`: opacity of the background filling image between 0 (black background) and 255
|
|
* `blur_radius(default=20)`: blur radius of the background filling image
|
|
|
|
## Dependencies
|
|
|
|
* libexif
|
|
* qt5
|
|
|
|
```
|
|
sudo apt install libexif12 qt5-default
|
|
```
|
|
|
|
## Build
|
|
|
|
```
|
|
mkdir -p make
|
|
cd make
|
|
qmake ../src/slide.pro
|
|
make
|
|
sudo make install
|
|
```
|