scorphus / thumbor-wand-engine

🧙‍♂️ ImageMagick engine for Thumbor
https://imagemagick.org
MIT License
17 stars 0 forks source link

I can't seem to figure out how to use it? #12

Open Anbool opened 1 year ago

Anbool commented 1 year ago

Hello, I'm using Thumbor 7, I noticed thumb-wand-engine because of AVIF, but just now I installed thumb-wand-engine and configured it, and it seems that browsers that support AVIF still use WEBP, so it's me problem? What do I need to do to make thumbor-wand-engine support AVIF? Looking forward and thank you for any responses!

scorphus commented 1 year ago

Hey! 👋

Without Thumbor supporting AVIF content-type, all one could do was read AVIF files with the wand engine.

Now, with recent changes, such as

https://github.com/thumbor/thumbor/blob/master/thumbor/utils.py#L45

and

https://github.com/thumbor/thumbor/blob/master/thumbor/utils.py#L57

it is possible to serve AVIF images.