4 ms·
I didn't mean to compare JPEG XL to JPEG. I'm more curious if there is any advantage to JPEG XL over WebP or AV1.
by rcme 3y ago
I didn't mean to compare JPEG XL to JPEG. I'm more curious if there is any advantage to JPEG XL over WebP or AV1.
- jonsneyers 3y agoHere's a summary of the main points: https://jpegxl.info/why-jxl.html https://jpegxl.info/why-jxl.html Basically lossy WebP and AVIF are video codecs, which are designed for the kind of quality you want when you can only see an image for 40 milliseconds or less. For still images, higher fidelity is usually desired but the video codecs tend to struggle to even keep up with the old JPEG at those operating points. Similarly, video codecs are not designed for progressive decoding (rendering previews of a frame based on partial data), because that's a feature that doesn't make much sense for video. For still images on the web, progressive decoding is considered a desirable feature though to improve the user experience.
- josefx 3y agoGoing mostly by a quick check of the wikipedia descriptions JPEGXL seems to live up to the XL part: Larger image sizes, more bits per channel, more channels ... . WebP and AV1F seem to inherit size limitations from their corresponding codecs AV1F for example will start tiling with visible artifacts at 4/8k (depending on direction) to support larger images.
- jdiff 3y agoWith that Achille's heel in tiling and the slow and PoC-tier encode and decode performance, I'm amazed AVIF has gotten the adoption that it has. Add in that in lossless mode JPEG-XL is almost always smaller, sometimes by up to 4x, and I'm just not sure how it's even a competition. AVIF has so many compromises baked in that didn't need to be made.
- koito17 3y ago> if there is any advantage to JPEG XL over WebP or [AVIF] Of course there is. Better compression than WebP, and unlike AVIF, it supports progressive decoding, which is super important for users on a slow network. Although AVIF can sometimes produce 50% smaller size files than WebP, many site owners will opt for WebP anyway because it has progressive image decoding, so their website will display something while an image is nothing rather than nothing until the whole image is loaded. With that said, JXL achieves comparable compression to AVIF, and it suffers way less from generation loss, too.