3 ms·
Technically that's a fine idea, but practically - I think this will merely be a distraction and slow everything down. There's not a lot of point to brunsli if y
by emn13 4y ago
Technically that's a fine idea, but practically - I think this will merely be a distraction and slow everything down. There's not a lot of point to brunsli if you've got jxl, and brunsli would make further non-transcoding improvements that jxl also enables harder to reach. It's also going to be yet another adoption problem (though given chromium's market share I guess they can just force brunsli into real-world usage without firefox or even webkit support). Finally, if jxl falls through permanently and brunsli succeeds - it's still probably time to look for a new codec; perhaps AVIF might succeed where jxl wont (I hear your concerns, but that might be acceptable or improvable). After all, there's a very good chance that given the presence of the AV1 decoder the extra complexity of AVIF in chromium might be very small, which seems to be one of their concerns. AVIF might render brunsli the kind of intermediate step that's not worth it.
I think voting up the issue is probably a quicker chance of getting a satisfactory resolution (simply supporting jxl). Alternately, perhaps a WASM based polyfill might be possible, and hope that if at least one other browser adopts it natively and a polyfill is available, that chrome will reconsider.
Worst case - if this turns out to be irreversible - even then I think it's more strategic to let the inevitable dust this will cause settle, and then start picking up the pieces afterwards - the discussions in the interim might reveal more of the chromium teams reason for blocking this, which might inform future steps.
- twotwotwo 4y agoI think the decision on JPEG XL as a whole is made; there were some statements in favor of adopting it on Chrome's and Mozilla's trackers before the decision from folks at Adobe, Facebook, Intel, and a newspaper, and some developers of it and natural advocates of it were inside Google; general-public comments seem less impactful than all that. If I had to guess, the trigger was Apple supporting AVIF and Chrome folks concluding AVIF "won." They might also have decided they think Apple is unlikely to ever do JXL, but they probably wouldn't comment publicly on what they think someone else will do. The case for a Brunsli filter in the meantime is legacy JPEG content is never going away, and there will also be a long "meantime" where we know AVIF is the endpoint but it's still impractical for many because of SW encoding cost. Brunsli saves ~20%, so it's not nothing, and it's CPU-cheap. A WASM polyfill would kind of be cool. Someone did it for Bellard's "BPG" (HEIC in a different container) in a ServiceWorker, and one just doing JPEG1 transcoding would be even lighter (and, unlike this PNG-making polyfill, would save reasonably small JPG files if the user right-clicks): https://sequentialread.com/better-portable-graphics-bpg-on-the-web-with-webassembly-wasm-and-serviceworker/ https://sequentialread.com/better-portable-graphics-bpg-on-t...