Skip to content
/ sldshow Public

Simple slideshow image viewer

License

Notifications You must be signed in to change notification settings

ugai/sldshow

Repository files navigation

sldshow

CI

Icon

Simple slideshow image viewer.

  • toml configuration/playlist file
  • fixed-size, frameless window
  • random transition effects
sldshow.mp4

Supported platforms

  • Windows 64-bit

Configuration file

sldshow can open a .sldshow file that is a toml format configurations containing image paths.

# sldshow file (.sldshow)

[window]
width = 1280
height = 780
fullscreen = false
always_on_top = false
titlebar = false
resizable = false # only when the titlebar is enabled
monitor_index = 0
cursor_auto_hide = true

[viewer]
image_paths = ["C:\\hoge\\dir1", 'C:\hoge\dir2', '/home/hoge/fuga.jpg']
timer = 10 # pause if value is zero
scan_subfolders = true
shuffle = true
pause_at_last = false
resize_filter = 'Linear' # ['Nearest', 'Linear', 'Cubic', 'Gaussian', 'Lanczos3']
stop_screensaver = true
cache_extent = 5 # preload the previous and next N files

[transition]
time = 0.5
fps = 30.0
random = true

[style]
bg_color = [0, 0, 0, 255] # RGBA [0, 255]
text_color = [255, 255, 255, 255] # RGBA [0, 255]
show_image_path = false
font_name = 'UD デジタル 教科書体 N-R'
font_size_osd = 18.0
font_size_image_path = 12.0

Supported formats

sldshow uses image-rs. It will probably be able to open the following image formats.

  • PNG, JPEG, GIF, TIFF, TGA, BMP, ...

See image-rs documentation for details.

Controls

Action Input
Quit Esc / q / MMB
Next/previous image Right and Left / Down and Up / PageDown and PageUp /
. and , / Enter / LMB and RMB / WheelDown and WheelUp / Tap right or left side of the window
Next/previous 10th image Shift + Next/previous image
First image Home
Last image End
Toggle fullscreen f / F11 / Alt + Enter / Double-LMB / Tap (Multi-Finger)
Minimize Alt + m / Alt + Down
Toggle always on top t
Toggle titlebar d
Toggle pause/restart timer Space / p
Pause timer Pause
Decrease/increase display time [ and ]
Reset display time Backspace
Toggle pause/continue at last l
Show current position o
Copy current file path Ctrl + c
Resize window to 50% Alt + 0
Resize window to 100% Alt + 1
Resize window to 200% Alt + 2

Alternatives

License

MIT License

About the icon

The icon of this application is derived from the "Photo" icon from the Tabler Icons. Copyright (c) 2020 Paweł Kuna, MIT Licensed.

Transition shader

Some transition shader codes are based on the GL Transitions.