wagtail / Willow

A wrapper that combines the functionality of multiple Python image libraries into one API
https://willow.wagtail.org/
BSD 3-Clause "New" or "Revised" License
273 stars 53 forks source link

Animated WebP #80

Open kaedroho opened 4 years ago

kaedroho commented 4 years ago

Add support for loading and saving animated WebP files

lazakoa commented 3 years ago

Just ran across this issue too, only the first frame of the webp is rendered.

jamesray commented 3 years ago

This would greatly increase performance on our site.

hpoul commented 2 years ago

Out of curiosity, what is the complication with this? Is this just a matter of making sure webp are also converted using Wand? Or is Wand also not supporting animated webp as well? 🤔️

kaedroho commented 2 years ago

@hpoul there's no technical complication as far as I'm aware. Should be possible to do with Pillow using the append_images parameter on output: https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#saving-sequences

andre-fuchs commented 1 year ago

I would appreciate animated WebP files as well. Animated GIF support is not great, as ImageMagick needs a lot of cache resources even for smaller files, that we often cannot influence.