Skip to content

No pages metadata for animated gif #1566

@jaubourg

Description

@jaubourg

Maybe I'm doing something wrong but whenever I load an animated gif and do operations on it, I always end up with the first frame transformed and that's it.

In order to determine if this was due to something deep into our code, I looked more closely into the metadata reported by sharp for animated gifs.

From what I understand from the docs, an animated image is supposed to give a pages value that is a number.

If I input an animated monkey found online, I end up with a metadata.pages that's undefined and sharp only acts on the first frame.

Is this by design? Am I missing something?

Also, I saw outputting animated webp was supported but is outputting apng supported too? Could be nice to have a clear support grid somewhere in the docs where this kind of things would be listed. But I know how difficult and time-consuming writing docs can be ;)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions