django-cms / django-filer

File and Image Management Application for django
https://django-filer.readthedocs.io/
Other
1.73k stars 575 forks source link

[feature request] Webp support #1297

Closed HamadTheIronside closed 2 years ago

HamadTheIronside commented 2 years ago

Hey team Django-filer, Is it possible to add webp support to the Image model? as 95% of the browsers support it, and it's optimized and better than the others.

I would be happy to do a PR to make it happen.

By the way, thanks for the library ❤️

jrief commented 2 years ago

There is already a workaround on how to handle WEBP in django-filer. We currently do not fully rely on WEBP, because Safari (= the new Internet Explorer) still doesn't support it.

The point is, that most users upload their images in JPEG and django-filer currently always converts into the same image format as its source. Therefore, WEBP can be an additional alternative but not a replacement. And for this, please use the mentioned workaround.

HamadTheIronside commented 2 years ago

Thanks for the quick reply, I appreciate it.