2👍
As I understand it, Wagtail relies on Willow to provide a common API, which then talks to Pillow, Wand and other python libraries for editing images.
So it’s likely you’ll need to make changes to Willow first, rather than directly to Wagtail.
This is was I learned when looking into adding rotation support to Wagtail – there’s an open pull request on Willow from a few weeks back here:
https://github.com/wagtail/Willow/pull/52
Once that was in, I was expecting to then need to make a PR, to Wagtail myself, to add the UI.
I’ve shared some notes that might be help here too, where I tried to work out how images are saved, with some links to the the docs and discussion on the mailing lists. Hope that helps:
0👍
wagtail relies on pillow https://pypi.python.org/pypi/Pillow/2.1.0
for image manipulation.
read the doc there, especially system dependencies for gif, jpeg …
- [Answered ]-My api call doesnot work in javascript but works fine with in postman and browser
- [Answered ]-SSL: TLSV1_ALERT_INTERNAL_ERROR when connecting to APNS
- [Answered ]-Empty Chatterbot Conversation table in Django Admin
- [Answered ]-Pytz – timezone activated yet getting wrong time. Am I missing something?
0👍
Checking Wagtail source-code, I found that it’s not possible to add more supported image types like .avif
. Only images supported by Pillow are allowed. I think maybe there are features of Wagtail that load the image using Pillow?!
- [Answered ]-Empty Chatterbot Conversation table in Django Admin
- [Answered ]-Django Form errors not displaying in template
- [Answered ]-Django inclusion tag takes_context TemplateDoesNotExist error
- [Answered ]-Django: send_mail not working [only for production]