Skip to content

Enable animations for GIF files #12

@neil3000

Description

@neil3000

Could it be possible to add support for animations, maybe by adding another url param, like ?anim?

Sharp already provides a way to make the conversion from animated to GIF to animated WebP, and currently the conversion technically works but returns a static image.

Sharp has this option to allow such conversion:

return sharp(path, { animated: true })

You could also switch to a branch of imagetools that supports this parameter, such as:
JonasKruckenberg/imagetools#454

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions