Webp: invalid formation, with an animated

Hi,
I have a similar problem that I used to have with a gimp-created webp image but the problem is worse this time. It is animated, ergo cwebp can’t process it. Has someone another solution ?
You can find the image on this page, or this link.
Originally it was a gif but I tried to make it a webp to get rid of the bad formatting which forbad resizing. Ain’t much of a success !

Go’s Webp decoder does not support animated Webp. I saw some progress on this issue on the Go issue tracker (there was a pull request), but I would not be too optimistic about when it will happen.

(there would still be some work on the encoder side of it if you want animated images out in the other end and not just the first frame, but that is at least something we (I) can somehow handle in house).

As an added note: It’s unfortunate that they throw an error in this case, it would be much better if they could just decode the first frame (which would be much better than nothing, and in line with how they do GIF).

1 Like