Repository navigation
Open
Labels
investigation-effort-proposalInvestigation Effort Proposal
Description
Description
Write tests and improve testing infrastructure as needed for the AVIF image format. The features to cover (LLM-generated):
- lossy and lossless
- bit depth
- chroma subsampling
- CICP/ICC color
- HDR and gain maps
- alpha
irot/imir/clap- grid
altrentity groups ingrpl- animation
- progressive/layered
- film grain
- handling of non-conforming files
- performance
The tests would also cover the web integration points: <img>/<picture>, CSS images, canvas, ImageDecoder, etc (same as in the jpeg-xl investigation). Encoding (toBlob('image/avif')) and video are out of scope.
Rationale
Chromium, Gecko and WebKit ship AVIF, but wpt currently has very few tests for it.
- Previous related proposals: AVIF Support #22, Animated AVIF #182 and Modern gif replacement: Animated AVIF bugs and performance issues #997. Transparency in video #1421 also depends on animated AVIF.
- Browser bugs (not exhaustive):
- https://bugzilla.mozilla.org/show_bug.cgi?id=1701426
- https://bugs.webkit.org/show_bug.cgi?id=322274
- https://issues.chromium.org/issues/536089776
- Usage: https://chromestatus.com/metrics/webfeature/timeline/popularity/10 is currently at ~10% of page loads, 10-13% of pages.
- Without tests, it's unclear which behaviors are real interop gaps.
Investigation Roadmap
Reacted by Oliver Williams, jsnkuhn, phantomxx29474, Pelle Wessman, Barry Pollard, Micah, John P. Green, Yehonatan Daniv, James Heppell, Shalanah Dawson and 3 more
Reacted by Oliver Williams and phantomxx29474
Metadata
Metadata
Assignees
Labels
investigation-effort-proposalInvestigation Effort Proposal
Type
Projects
- StatusShow more project fieldsTodo
Activity