-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Change AVIF quality defaults #198
Comments
I did find out later that the Sharp library we use upstream has a default quality of |
Different AVIF encoders have different effort and quality scales and I don't know how Sharp's are set up (it seems to use libaom, but maybe with a flipped "effort" (vs "speed") scale??) Anyways when doing a test with one (1) image, I thought the output looked a bit crummy and turned up both the quality and effort – and was happier. Here are some loosely-held beliefs:
I chose effort 7 and quality 70 because they fit nicely within these guidelines and I used to always encode my JPEGs at Here are the images: Original: https://o.img.rodeo/w_800/dogs/2.png (Note that the comparison pages display the images at 1x...) Clearly, some more rigorous investigation is in order. But this first experience with eleventy-img made me hypothesize that the defaults could and maybe should be higher. |
Upstream discussion at lovell/sharp#4227 |
Read: https://tsev.dev/posts/2023-11-10-should-avif-be-the-dominant-image-format/
The text was updated successfully, but these errors were encountered: