You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Progressive image rendering for JPEG XL and AVIF #1459
When we looked into JPEG XL, I asked developers why they were interested in the format, and the most common answer was "progressive rendering". This is now working in Firefox and Chrome, but doesn't work in Safari.
In addition to this, AVIF's progressive decode became much more viable this year following enhancements to the avifenc encoder. Currently, Chrome is the only browser that supports rendering the intermediate steps (demo).
I propose this as a focus area, so we get good progressive decoding support across both formats.
Reacted by Fynn Ellie Becker, Gus, Agustin Capeletto, Andrew Hudson, Paweł Grzybek, Samir, Pavel Cvrček, Davy Duperron, ThainBBdL, Sérgio Gomes and 77 more
This comment was automatically generated based on the information you provided. Please don't edit it.
No web features (from the web-features project) were found in your proposal. If your proposal doesn't correspond to a web feature, that is fine.
Otherwise, please update your initial comment to include web-features: <feature-id>.
To find feature IDs, use the web-features explorer.
What's the status of this for older formats such as JPEG and PNG which also have progressive capabilities? additionally If not done so already I feel like there would be merit in also checking basic incremental decoding capabilities across all the formats that support such a thing (formats which support it as a fallback when encoded in a non-progressive way or just in general if a format lacks fancy progressive fully but can do incremental) such as BMP, GIF, JPEG, PNG, WebP, and JXL (AVIF from what I have seen does not support incremental decoding? unsure if this is a format or implementation limit).
I meant more so in the context of WPT. for example it was recently discovered that Chrome's new Rust based decoding of PNGs wasn't setup to properly progressively decode Adam7 interlaced encodes which was only found out because someone randomly discovered it wasn't working and reported it rather then any tests catching the problem. (formal issue ticket created after off-site informal report: https://issues.chromium.org/issues/544376750)
(AVIF from what I have seen does not support incremental decoding? unsure if this is a format or implementation limit).
I'm not quite sure if this is the same thing? by "incremental" I meant pieces/parts of the full/final image coming in instead of any type of lower quality bits/pieces coming in and then getting refinement. for example non-Adam7 PNGs, baseline JPEGs, non-interlaced static GIFs, and WebPs load top-down while interlaced static GIFs seem to load every other line/scanline, and non-progressive JXLs load full tiles.
Given there are now 29 WPT for PNG, and given that interop could be increased by getting Safari up to the level of the other major browsers, is there interest in adding PNG to this proposal? Or should it be kept scoped to the two newer formats?
Activity
github-actions commentedon Sep 23, 2026
This comment was automatically generated based on the information you provided. Please don't edit it.
No web features (from the web-features project) were found in your proposal. If your proposal doesn't correspond to a web feature, that is fine.
Otherwise, please update your initial comment to include
web-features: <feature-id>.To find feature IDs, use the web-features explorer.
jakearchibald commentedon Sep 23, 2026
There's some cross-over with web-platform-tests/wpt#62892
goodusername123 commentedon Sep 29, 2026
What's the status of this for older formats such as JPEG and PNG which also have progressive capabilities? additionally If not done so already I feel like there would be merit in also checking basic incremental decoding capabilities across all the formats that support such a thing (formats which support it as a fallback when encoded in a non-progressive way or just in general if a format lacks fancy progressive fully but can do incremental) such as BMP, GIF, JPEG, PNG, WebP, and JXL (AVIF from what I have seen does not support incremental decoding? unsure if this is a format or implementation limit).
One of the reasons I bring up incremental decoding (aka top-down/interlaced) is because browsers seem to struggle a tiny bit with consistency in this regard. for example on a site like https://google.github.io/attention-center/ when loading formats such as non-progressive baseline JPEGs, basic PNGs, and static GIFs everything seems to work fine across browsers, however when trying any WebP files nothing shows up unless the slider is at 100%. this issue does not show up when using https://random-stuff.jakearchibald.com/apps/partial-img-decode/ or when WebP files are getting streamed over the network.
jakearchibald commentedon Sep 29, 2026
See https://jakearchibald.com/2025/present-and-future-of-progressive-image-rendering/.
It does. Here are the WPTs I filed web-platform-tests/wpt#62764
This sounds like a failure in the other test page. https://random-stuff.jakearchibald.com/apps/partial-img-decode/ uses real browser internals to partially render the image.
goodusername123 commentedon Sep 29, 2026
I meant more so in the context of WPT. for example it was recently discovered that Chrome's new Rust based decoding of PNGs wasn't setup to properly progressively decode Adam7 interlaced encodes which was only found out because someone randomly discovered it wasn't working and reported it rather then any tests catching the problem. (formal issue ticket created after off-site informal report: https://issues.chromium.org/issues/544376750)
I'm not quite sure if this is the same thing? by "incremental" I meant pieces/parts of the full/final image coming in instead of any type of lower quality bits/pieces coming in and then getting refinement. for example non-Adam7 PNGs, baseline JPEGs, non-interlaced static GIFs, and WebPs load top-down while interlaced static GIFs seem to load every other line/scanline, and non-progressive JXLs load full tiles.
I wasn't sure if the failure was generic enough to warrant a further investigation or not. fwiw here's what the failing site is doing: https://github.com/google/attention-center/blob/main/docs/index.md?plain=1
svgeesus commentedon Oct 6, 2026
I have created WPT for progressive PNG, which are being discussed in the PNG Working Group before I send a PR to WPT:
svgeesus commentedon Oct 18, 2026
Progressive PNG WPT results show Chrome, Edge and Firefox passing while Safari, Ladybird and Servo fail.
svgeesus commentedon Oct 18, 2026
Given there are now 29 WPT for PNG, and given that interop could be increased by getting Safari up to the level of the other major browsers, is there interest in adding PNG to this proposal? Or should it be kept scoped to the two newer formats?
jakearchibald commentedon Oct 19, 2026
I'm reluctant to include PNG on this given how much interlaced PNG negatively impacts file size (like, 15-20% overhead).