ALEXKRI.NET
Resume Contact
← Back

Shipping JPEG XL in Chrome

JPEG XL decoding ships in Chrome 155, and the choice underneath is the interesting bit: the decoder is jxl-rs, a pure Rust reimplementation, picked to remove memory-safety risk from a parser that eats untrusted bytes. They also built a SIMD abstraction layer to keep it fast without leaning on unsafe. 30-50% better compression than JPEG and lossless JPEG transcoding, so it’s worth benchmarking against AVIF on your own images.

Read the source ↗