zzag / plasma5-wallpapers-dynamic

Dynamic wallpaper plugin for KDE Plasma
328 stars 18 forks source link

No EXIF time data. #72

Closed phoenix277yt closed 3 years ago

phoenix277yt commented 3 years ago

Is it necessary to have the EXIF time data in the image because I would like to set the wallpapers from in-game screenshots but they don't have the EXIF time data. I've even provided the time data in the .json file while the sun position is set to auto (*).

image My .json file and folder structure

image Kwallpaperbuilder output, I know it says to do that but is it really necessary? @zzag

zzag commented 3 years ago

If the images have no EXIF metadata and you don't know the position of the Sun, just omit SolarAzimuth and SolarElevation, i.e. don't specify them.

zzag commented 3 years ago

Kwallpaperbuilder output, I know it says to do that but is it really necessary?

It depends on if you need your dynamic wallpaper include solar metadata. In order to calculate the position of the Sun, both the location and date + time are required. Alternatively, you could compute the position of the Sun on your own, but it's not as convenient as calculating SolarAzimuth and SolarElevation auto-magically based on EXIF metadata.