I did search for this, as I expected someone to have raised this issue before.
I tried to decode a webp image with animation and got:
The behaviour of gif.Decode in this situation is to decode the first frame. And then there is gif.DecodeAll which gives you a struct with all frames and the timing etc. information. It would be nice to have a webp.DecodeAll or similar.
I did search for this, as I expected someone to have raised this issue before.
I tried to decode a
webpimage with animation and got:The behaviour of
gif.Decodein this situation is to decode the first frame. And then there isgif.DecodeAllwhich gives you a struct with all frames and the timing etc. information. It would be nice to have awebp.DecodeAllor similar.