Static

Shipping JPEG XL in Chrome

First reported by Developer.chrome ·

The signal ●○○○ Compiled by AI from Developer.chrome and Hacker News
Why you might care

Web developers can now use JPEG XL for richer, more efficient image delivery without requiring new libraries or plugins.

What happened

Chrome 155 is now shipping with built-in support for decoding the JPEG XL image format, identified by the .jxl file extension. This next-generation format offers improved compression, achieving 30-50% better results than standard JPEG, alongside lossless compression, high dynamic range (HDR) capabilities, and the ability to transcode existing JPEGs losslessly. The implementation prioritizes security by utilizing a reimplemented decoder written in Rust, known for its memory safety features, to mitigate common vulnerabilities found in decoders written in languages like C++. Performance optimizations were also a key focus, leveraging SIMD hardware through Rust's target_feature_11 to ensure the new decoder is as fast as existing alternatives. This integration follows consistent feedback from web developers and participation in the Interop Project to ensure cross-browser compatibility.

What it means

The integration of JPEG XL into Chrome, powered by a Rust-based decoder (jxl-rs), signifies a strong industry push towards safer, more performant web image formats. This move, driven by developer demand and cross-browser interoperability efforts, suggests a growing acceptance of Rust for critical browser components due to its memory safety guarantees, potentially influencing future browser development and security practices. The emphasis on performance, matching or exceeding existing codecs through SIMD, indicates that efficiency remains a primary concern even with memory-safe implementations.

This development impacts content creators and platform owners by offering a more efficient alternative for image delivery, potentially reducing bandwidth costs and improving user experience through faster loading times and better image quality, especially for HDR content. The success of the Rust implementation and its performance metrics may also encourage wider adoption of Rust in other performance-sensitive areas of software development, not just within browser engines but across the broader tech landscape.

AI-written summary. May contain errors.