- Add support for per folder image display options. The file called options.json contains json keys to control image options when displaying files in this folder. Currently a singled option, fitAspectAxisToWindow, is supported
- Remove duplicated image rotation reading code, have the image selector logic just pass this up via the per image options
This commit is contained in:
11
README.md
11
README.md
@@ -46,7 +46,16 @@ slide [-t rotation_seconds] [-a aspect] [-o background_opacity(0..255)] [-b blur
|
||||
* `<dir>`directory of the current image
|
||||
* `<path>`path to the current image without filename
|
||||
* Example: `slide -p ./images -O "20|60|Time: <time>;;;Picture taken at <exifdatetime>"`
|
||||
|
||||
|
||||
## Folder Options file
|
||||
When using the default or recursive folder mode we support having per folder display options. The options are stored in a file called "options.json" and currently support the following option
|
||||
```
|
||||
{
|
||||
"fitAspectAxisToWindow": false
|
||||
}
|
||||
```
|
||||
* `fitAspectAxisToWindow` : apply the --stretch option to files in this folder
|
||||
|
||||
## Dependencies
|
||||
|
||||
* qt5-qmake
|
||||
|
||||
Reference in New Issue
Block a user