🖼️JPEG XL Gains Ground in Browsers Despite 2023 Rejection
JPEG XL might finally get its day in the sun
TL;DR
JPEG XL, once rejected by Chrome, is now making its way into Firefox and Chrome thanks to a new Rust decoder. This could protect the web from past vulnerabilities and offer better image quality.
JPEG XL, a technically superior image codec, is gaining traction in browsers despite being rejected by Chrome in 2023. A new Rust decoder has made it into Firefox and Chrome, potentially reversing course on past decisions. This matters for developers because JPEG XL offers better lossy compression efficiency and versatility over JPEG and WebP. Key details include its perceptual tuning based on human trials and its ability to prevent image artifacts. However, JPEG XL struggles with non-photographic images and has performance issues with patches enabled.
Key Points
JPEG XL offers up to 30% better compression efficiency over JPEG and WebP in lossy mode.
A new Rust decoder has been integrated into Firefox and Chrome, reversing 2023's rejection.
JPEG XL's perceptual tuning based on human trials enhances its efficiency and image quality.
JPEG XL struggles with non-photographic images, where WebP and JPEG perform better.
Patches for non-photographic images are currently enabled only below effort level 7 due to performance issues.
Why It Matters
If you're optimizing images for web performance, JPEG XL's superior compression efficiency and versatility over JPEG and WebP could significantly reduce bandwidth usage. However, the new decoder must address performance issues with non-photographic images to be widely adopted.
Comments
Be the first to comment
Enjoyed this article?
Get it daily. 7am. Free. Reads in 5 minutes.
Join 3,481 builders reading daily.