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 AVIF format #12

Open
Cerdic opened this issue Jan 14, 2021 · 1 comment
Open

Support AVIF format #12

Cerdic opened this issue Jan 14, 2021 · 1 comment

Comments

@Cerdic
Copy link
Member

Cerdic commented Jan 14, 2021

AVIF seems is coming fast as a new supported format:

https://caniuse.com/?search=avif
https://jakearchibald.com/2020/avif-has-landed/

In HTML5 markup option we could provide a avif version in a dedicated <source>, keeping the jpg <source> as a fallback for all other browsers.

This would fit cause of:

  • the on demand image production, as we don't need to pre-process all the images
  • the preview image that counterbalance the lack of progressive loading on avif images

https://docs.fileformat.com/image/avif/

It seems also that avif image format is supported by uptodate ImageMagick lib with libheif :
ImageMagick/ImageMagick#1432

@Cerdic
Copy link
Member Author

Cerdic commented Jun 15, 2022

maybe see also the lib sharp https://sharp.pixelplumbing.com/

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

1 participant