3 ms·
High quality progressive decoding at reduced filesizes is a big positive for me. There is no other format that supports that. https://www.youtube.com/watch?v=U
by supermatt 3y ago
High quality progressive decoding at reduced filesizes is a big positive for me. There is no other format that supports that.
https://www.youtube.com/watch?v=UphN1_7nP8U https://www.youtube.com/watch?v=UphN1_7nP8U
- martin_a 3y agoOk, that looks better than Progressive JPEG, I'll give you that. ;-) On the other hand: When your connection speed is 30 kb/s, images are probably the last problem with "modern" websites... ;-)
- supermatt 3y agoOh yeah, definitely. For me the usecase is infinite scrolling, where you buffering offscreen images to allow you to continually flick through an image feed without having to "wait" for a preview to appear. Although you can do this without JXL, its a much more fluid experience with the progressive download - especially if you micromanage the behaviour of the network requests (i.e. progressive throttling of offscreen images past first frame). Lower filesize over JPEG is also a benefit there as you can more quickly resume the load of the higher fidelity frames when in view. Current browser support where available is a lot more restrictive TBH, as you dont have any control over that behaviour. But outside the browser its solid gold.
- KronisLV 3y ago> High quality progressive decoding at reduced filesizes is a big positive for me. This is really cool! Honestly, I want to use regular progressive JPEGs for a current project of mine, but it seems that even that doesn't have support in all the tech stacks yet despite how long it's been around for, for example: https://github.com/SixLabors/ImageSharp/issues/449 https://github.com/SixLabors/ImageSharp/issues/449 Here's hoping that in the case of JPEG-XL this will be more commonplace! In combination with loading="lazy", it would surely make the experience of scrolling through modern sites with lots of content a bit less data intensive.
- supermatt 3y agoyeah, you are very much at the mercy of the libs you use if you want full feature parity with, for example, libjpeg-turbo in the case of JPEG. In the browser where supported, I guess loading="lazy" probably already works (i havent tried). I think a more advanced version where you can choose maybe a "staged" loading type, or some mechanism to choose the pass/frame to pause the network activity at so that you can control it further via JS would be nice. At a minimum it would be a feature enabling a preview and a reduced download for the full version. I can see many usecases where that could be useful.