JPEG XL, Welcome to the Web!
JPEG XL is now supported in Chrome and Firefox, and the author argues it's the best archival format thanks to lossless quality and JPEG transcoding that shrinks legacy files about 20% without any loss. AVIF still wins for lossy web delivery, so JXL is a storage and lossless play more than a web-image replacement.
- Lossless JPEG transcoding cuts legacy .jpg files by about 20% and can reconstruct the original bit-for-bit, so archives can shrink without generation loss.
- For lossless images, AVIF comes out 30–122% larger than JXL and decodes more slowly, while AVIF still beats JXL on lossy file size.
- JXL supports up to 32 bits per channel, HDR, and custom channels, though browser gain-map support is still catching up and hardware acceleration is only planned.
JPEG XL has finally shipped in Google Chrome and Mozilla Firefox, which the author treats as the last hurdle for a format that, in their view, can replace a pile of single-purpose image formats. The pitch rests on several claims: better compression than JPEG and WebP with fewer artifacts, support for lossless images (taking over from PNG), animations (taking over from GIF and animated WebP), transparency, and progressive loading. It also handles up to 32 bits per channel, including floating-point HDR, where WebP tops out at 8-bit color, and it can carry extra channels like depth maps or CMYK. The author stresses that browser gain-map support for HDR is still catching up, so the HDR story is partly promise.
The most striking feature is lossless JPEG transcoding. The encoder can take an existing JPEG, shrink it by roughly 20 percent, and rebuild the original file bit for bit on demand, with no generation loss. That matters for servers and archives holding huge amounts of legacy JPEG data. Decoding is fast on modern CPUs through SIMD with no GPU needed, though AVIF still edges it out on raw decode speed, and dedicated hardware acceleration is on the roadmap but not yet shipped. The reference encoder, libjxl, uses the BSD 3-Clause license with royalty-free patent terms, so there are no licensing fees to worry about.
The author is careful not to dismiss AVIF, which is royalty-free, already widely supported, and derived from AV1. For lossy web delivery, recent comparisons still favor AVIF on file size, so the author calls AVIF the better web format today and JXL the stronger archival format, especially for lossless work, where AVIF lossless files come out 30 to 122 percent larger and slower to decode. The post closes with practical notes for Photoshop users: versions CS6 through 26.7 need the free open-source JXL plugin to import and export .jxl files, and the author recommends grabbing an AVIF plugin alongside it.