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

AVIF Image Format Support #26

Open
iankduffy opened this issue Sep 8, 2020 · 20 comments
Open

AVIF Image Format Support #26

iankduffy opened this issue Sep 8, 2020 · 20 comments

Comments

@iankduffy
Copy link

iankduffy commented Sep 8, 2020

Wondering if there are plans for AVIF Image Format Support for sanity images (https://jakearchibald.com/2020/avif-has-landed/) at the moment I have auto format on which in chrome 85, is getting webp images but this could be a AVIF image meaning even smaller images file size to be loaded on the site, in terms of web performance.

@peterskogsberg
Copy link

peterskogsberg commented Nov 4, 2020

This would indeed be great, but I suspect from this library's perspective it'd just be the same auto=format parameter added, indicating that client accepts any supported format.

Edit: but please consider this an upvote too, anyways! :) Even if the changes may be on the back end side.

@piersolenski
Copy link

Now that this has dropped in Chrome and Firefox, as well as Gatsby adding support gatsbyjs/gatsby#28742 - it'd be great to see Sanity supporting it too!

@rexxars
Copy link
Member

rexxars commented Jan 26, 2021

It's coming, but there are a number of considerations given it's a very costly format to encode (10-15x that of JPEG/WebP). We're eager to deliver, but we want to make sure we get it right :)

@ahdrage
Copy link

ahdrage commented Oct 26, 2021

Any update here? Supported at imgix also now.
https://www.youtube.com/watch?v=ouUgppbKvlk&ab_channel=imgix

@leo-cheron
Copy link

Is there any plan to support it someday or has this idea been abandoned?

@fmoessle
Copy link

Any updates? Would love to see AVIF support <3

@Kyoss79
Copy link

Kyoss79 commented Sep 14, 2022

The documentation says:

q
integer
Quality 0-100. Specify the compression quality (where applicable). Defaults are 75 for JPG and WebP and 55 for AVIF.

So maybe it's here already? Can anyone confirm? Thinking about switching to sanity.

@leo-cheron
Copy link

The documentation says:

q
integer
Quality 0-100. Specify the compression quality (where applicable). Defaults are 75 for JPG and WebP and 55 for AVIF.

So maybe it's here already? Can anyone confirm? Thinking about switching to sanity.

autoformat still delivers webp, no sign of avif yet.

@3backup
Copy link

3backup commented Oct 22, 2022

Any update there?
I guess not but just letting you know it is something we would for sure implement!

@stephenhmarsh
Copy link

+1 we want avif! 👏 we want avif! 👏

@peterskogsberg
Copy link

peterskogsberg commented Oct 28, 2022

...or are we skipping a format generation and going directly to JpegXL?

Seriously, it's been 20 months since
"We're eager to deliver". @rexxars

@ahdrage
Copy link

ahdrage commented Nov 18, 2022

avif bump!

@HuyAms
Copy link

HuyAms commented Dec 8, 2022

I love to see AVIF too

@j2is
Copy link

j2is commented May 30, 2023

Is this something that could be opt in, if you don't mind the extra cost of processing? It might be a nice ROI for certain websites

@leo-cheron
Copy link

Almost 3 years later, this standard is still missing :(

@ps-kate
Copy link

ps-kate commented Dec 29, 2023

Any updates here?

@fmoessle
Copy link

Any news?

@presto2116
Copy link

went searching for AVIF options with sanity, stumbled upon this issue. 3 years and no updates. 😢

@zabatonni
Copy link

+1 avif is a must

@ahdrage
Copy link

ahdrage commented May 29, 2024

Ode to Sanity, Thou Art Most Fair

In realms of code where Sanity doth reign,
A platform vast, where structured data’s kept,
A wondrous tool that doth developers gain,
Yet one great woe hath countless eyes e’er wept.

Four years and more, a promise once was made,
To bring forth AVIF in all its grace,
Yet still we wait, in hope’s long shadow laid,
With eager hearts and tear-streaked, weary face.

Oh, Sanity, thy features rich and bright,
Have brought us joy in many varied ways,
Thou art a beacon in the coding night,
But here we languish, longing for the days.

For AVIF, that format sleek and new,
Could make thy splendor even more complete,
Tens of developers, their tears like dew,
Cry out for thee, with voices bittersweet.

Imagine then, a world where all is right,
Where AVIF doth dance within thy frame,
A place where joy and peace would reunite,
And Sanity would earn yet greater fame.

So hark, ye builders of this mighty tool,
To heed the pleas of those who love thee well,
For once this gap is bridged, our hearts may cool,
And in thy triumph, future stories tell.

Then let the world, with Sanity's embrace,
Rejoice in harmony, both near and far,
As AVIF finds its rightful place,
And makes thee brighter than the morning star.

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