zzag / plasma5-wallpapers-dynamic

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

"Encoding of color planes failed" #113

Closed sylvesterroos closed 2 years ago

sylvesterroos commented 2 years ago

When I try to encode the default.jpg image from the CutefishOS wallpapers I get the following error:

qt.gui.icc: fromIccProfile: failed minimal tag size sanity
"Failed to encode /home/sylvester/Pictures/wallpapers/linux/cutefish-wallpapers/default.jpg: Encoding of color planes failed"

My manifest.json:

{
  "Type": "day-night",
  "Meta": [
    {
      "TimeOfDay": "day",
      "FileName": "/home/sylvester/Pictures/wallpapers/dtos-backgrounds-main/0240.jpg"
    }, {
      "TimeOfDay": "night",
      "FileName": "/home/sylvester/Pictures/wallpapers/linux/cutefish-wallpapers/default.jpg"
    }
  ]
}
zzag commented 2 years ago

Are the images of the same size?

sylvesterroos commented 2 years ago

They are not. I'm guessing that's the problem

Edit: Yup, resizing with gimp did the trick. Might I suggest you add this info to the readme? :)

zzag commented 2 years ago

Edit: Yup, resizing with gimp did the trick. Might I suggest you add this info to the readme? :)

I'll make kdynamicwallpaperbuilder print a more helpful message rather than simply forward whatever error message libavif provides us.