You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wagtail uses https://github.com/wagtail/willow for image operations. As far as I recall at the time the library was created (and probably for a while after), Pillow did not support animated GIFs, hence the message.
@kaedroho could probably provide more context to this. In terms of helping, a PR on Willow is most welcome! Once Willow is updated we can tweak the Wagtail docs too.
In addition, animated gifs only support a 256 colour pallette, which means that the files that Pillow/Wand create look worse than the original, and they can even be larger in filesize too!
So rather than export animated GIFs, we plan to convert them to something else. Theres
Convert them WebP/APNG files, which have fairly good browser support now and it looks like Pillow supports these
Convert them into videos Pillow animated gifs Willow#76 (comment) which have great browser support and are much easier to use on the web now we have the <video> element (Twitter does this)
I personally favour using video files, but I don't think Pillow supports this so this might need to be implemented as a new Willow plugin that uses something else to encode them.
Hey all, Pillow fork author (and wagtail user!) here, wagtail docs say "pillow does not support animated gifs" https://docs.wagtail.io/en/stable/advanced_topics/images/animated_gifs.html#animated-gif-support
But AFAICT we do support them, for some value of support: https://www.google.com/search?q=python%20pillow%20animated%20gif
Am I missing something, and/or anything we can do to help wagtail? Thanks
The text was updated successfully, but these errors were encountered: