Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebP is widely available now - add default support? #655

Open
foucdeg opened this issue Dec 1, 2024 · 5 comments
Open

WebP is widely available now - add default support? #655

foucdeg opened this issue Dec 1, 2024 · 5 comments

Comments

@foucdeg
Copy link

foucdeg commented Dec 1, 2024

WebP is widely available now and considered "baseline". We are considering full adoption without a PNG / JPG fallback, and we'd like easy-thumbnails to only generate a WebP thumbnail and not bother with jpg / png.

The explanation given on https://easy-thumbnails.readthedocs.io/en/latest/ref/webp/ made perfect sense when it was written, but now, I think more and more developers will consider using only webp.

Are there any plans to add a WebP-first mode to easy-thumbnails?

@benzkji
Copy link
Contributor

benzkji commented Jan 7, 2025

it's already there, you would just use the setting THUMBNAIL_EXTENSION = "webp" and get webp everywhere. Or is this not what you would want?

@benzkji
Copy link
Contributor

benzkji commented Jan 7, 2025

Agreed, docs could be more up to date. They are not rendered already for a while...

@foucdeg
Copy link
Author

foucdeg commented Jan 7, 2025

@benzkji great to hear that it's supported! Indeed the docs aren't clear about webp support. If a maintainer could update them, I'd be happy to update my config based on the new docs.

@benzkji
Copy link
Contributor

benzkji commented Jan 7, 2025

if you only need webp and nothing else, THUMBNAIL_EXTENSION should be enough. The old docs about webp, when it still was experimental could even be removed, IMHO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants