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

Support for AVIF format #233

Closed
ghost opened this issue Sep 2, 2020 · 3 comments
Closed

Support for AVIF format #233

ghost opened this issue Sep 2, 2020 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 2, 2020

Is your feature request related to a problem? Please describe.
AVIF is an emerging image format based on the AV1 codec that offers superior compression even when compared to WebP and is enabled for Chrome since v85 and in Firefox since v77 (behind a flag).

Describe the solution you'd like
I would like to see this library support on-the-fly AVIF compression, similarly to how WebP is currently supported.
require('~/assets/my-image.jpg?avif')

Describe alternatives you've considered
Any kind of support for AVIF would do.

@juliomrqz
Copy link
Owner

Please, provide more context for your request, follow the issue templates.

@ghost
Copy link
Author

ghost commented Sep 2, 2020

My apologies, updated the post with context. @juliomrqz

@ymilhahn
Copy link

FYI sharp is now supporting AVIF. :)

https://sharp.pixelplumbing.com/changelog#v027---avif
lovell/sharp#2289

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