-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Enhancement: control AVIF subsampling to reduce blockiness on high contrast edges #2562
Comments
Have you tried altering the |
Thanks, I can confirm this relates to
This new setting will only be available in sharp when using it with the forthcoming libvips v8.11.0 (the latest prebuilt binaries contain libvips v8.10.5) - see libvips/libvips#1961 The avif.io site doesn't offer control over subsampling and would appear to always use 4:4:4. Given it works in the browser, my best guess would be that it's using something like rav1e compiled to WASM under the hood. |
v0.29.0 now available, defaulting to 4:4:4 for AVIF. |
Are you using the latest version? Is the version currently in use as reported by
npm ls sharp
the same as the latest version as reported bynpm view sharp dist-tags.latest
?Yes, I'm using
[email protected]
What are the steps to reproduce?
Download image:
Convert to AVIF
What is the expected behaviour?
AVIF created by sharp has very bad quality compared to AVIF created by avif.io - I'm not sure what they use under the hood, but the output is much much better.
Are you able to provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem?
Are you able to provide a sample image that helps explain the problem?
The big difference is in hair.
What is the output of running
npx envinfo --binaries --system
?The text was updated successfully, but these errors were encountered: