zzag / plasma5-wallpapers-dynamic

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

failed to encode: my image is not implemented #126

Closed lolzhunter closed 1 year ago

lolzhunter commented 1 year ago

Making this because I'm not exactly sure whats tripping me up here, I'm a manjaro linux KDE plasma user and I'm using 3 images in a solar cycle, 2 of the images get by no problem it's just this one image set at for 12 midday that just won't cooperate.

here's my entire json file:

image

and here's what I'm getting consistently: image

I have tried resizing the image and saving it, changing crossfade, changing the name, setting the time 1 min ahead nothing worked.

I would like to note the file size is 2.6mb but the other two working images have 2.2mb and 1.2mb so i don't think its to do with that.

Any help would seriously be appreciated I'm stuck on what to do here, its honestly quite frustrating that there isn't much out there for changing wallpapers like this

zzag commented 1 year ago

The error message likely comes from avifEncoderAddImage(). Do jpg images have the same resolution?

lolzhunter commented 1 year ago

all 3 images have different resolutions

zzag commented 1 year ago

That's likely the reason. I'll add a more user-friendly error message instead of using whatever libavif spits out when avifEncoderAddImage() fails.

lolzhunter commented 1 year ago

ill give that a go, they only slightly differ, course the other way to fix it would be to zoom in the image automatically until all images are same size

lolzhunter commented 1 year ago

ok it encoded but when i equip it as a wallpaper its just cycling through the images, doesnt care about timing

EDIT: i am operating at room temp IQ, pretty sure i just fixed it by setting it up in the dynamic tab in wallpaper settings, will have to wait to see if it works but hopefully it should, also i disabled crossfade was causing it to overlap the two images like it was midway through transition didnt look good, oh and it turns out 2 of the images were exactly the same size and the one it was having the issue with was slightly bigger which is why i was running into an issue with that specific jpg

lolzhunter commented 1 year ago

yep all good works now, thanks for helping i appreciate it a ton