Skip to content

proposal: x/image/webp: add animation support to the decoder #53364

@bep

Description

@bep

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:

webp: invalid format

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Incoming

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions