Skip to content

pixels: support AVIF images#43762

Open
webbeef wants to merge 1 commit intoservo:mainfrom
webbeef:avif-image
Open

pixels: support AVIF images#43762
webbeef wants to merge 1 commit intoservo:mainfrom
webbeef:avif-image

Conversation

@webbeef
Copy link
Copy Markdown
Contributor

@webbeef webbeef commented Mar 30, 2026

This enable support for the image/avif image format, which is more efficient than jpeg and webp.

Testing: For instance check that avif images are loading in https://jakearchibald.com/2020/avif-has-landed/

@webbeef webbeef requested a review from gterzian as a code owner March 30, 2026 02:49
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Mar 30, 2026
@webbeef
Copy link
Copy Markdown
Contributor Author

webbeef commented Mar 30, 2026

Hm... Maybe we should try to use https://github.com/memorysafety/rav1d instead

@jdm
Copy link
Copy Markdown
Member

jdm commented Mar 30, 2026

Testing: For instance check that avif images are loading in https://jakearchibald.com/2020/avif-has-landed/

Can we get an automated test for this?

@sagudev
Copy link
Copy Markdown
Member

sagudev commented Mar 30, 2026

Testing: For instance check that avif images are loading in https://jakearchibald.com/2020/avif-has-landed/

Can we get an automated test for this?

Is this not covered by WPT?

@simonwuelker
Copy link
Copy Markdown
Contributor

Testing: For instance check that avif images are loading in https://jakearchibald.com/2020/avif-has-landed/

Can we get an automated test for this?

Is this not covered by WPT?

Testing: For instance check that avif images are loading in https://jakearchibald.com/2020/avif-has-landed/

Can we get an automated test for this?

Is this not covered by WPT?

I don't think image formats are considered "in scope" for WPT.

There is however one (singular) test that tests support for animated avif: https://wpt.fyi/results/avif?label=experimental&label=master&aligned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-review There is new code that needs to be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants