Skip to content
groups.google.com·

💻Firefox Enables JPEG XL Decoding by Default in Version 157

JPEG XL is now the default for Firefox users

TL;DR

Starting with Firefox 157, JPEG XL decoding is enabled by default across all platforms. This move follows similar implementations in Safari and Chrome but uses a Rust-based decoder (jxl-rs) for performance.

Firefox has flipped the switch on JPEG XL decoding as of version 157, making it the default image format for users. Why does this matter? JPEG XL offers better compression with less data loss compared to traditional JPEG formats, which can significantly reduce bandwidth usage and improve load times for web pages. The decoder used is jxl-rs, a Rust-based library that supports multithreading and has been optimized for performance. Performance benchmarks show JPEG XL decoding in Firefox outperforms Safari's C++ libjxl implementation on large images but falls short on smaller ones.

Key Points

1

JPEG XL decoding is now the default format in Firefox 157 across all platforms.

2

The jxl-rs library, written in Rust, powers JPEG XL decoding in Firefox.

3

Firefox's decoder supports multithreaded decoding to enhance performance.

4

Performance benchmarks show JPEG XL slightly outperforms Safari on large images but falls short on smaller ones.

5

JPEG XL offers better compression with less data loss compared to traditional JPEG formats.

Why It Matters

If you're managing a web server or optimizing image delivery, the switch to JPEG XL in Firefox means reduced bandwidth usage and faster load times. However, developers should note that lossless JPEG XL performance is significantly slower than WebP (30x), making it less ideal for certain use cases.

firefoxjpeg-xlweb-performance

Frequently Asked Questions

Why does this matter?

If you're managing a web server or optimizing image delivery, the switch to JPEG XL in Firefox means reduced bandwidth usage and faster load times. However, developers should note that lossless JPEG XL performance is significantly slower than WebP (30x), making it less ideal for certain use cases.

What happened?

Starting with Firefox 157, JPEG XL decoding is enabled by default across all platforms. This move follows similar implementations in Safari and Chrome but uses a Rust-based decoder (jxl-rs) for performance.

Comments

Subscribe to join the conversation...

Be the first to comment

Enjoyed this article?

Get it daily. 7am. Free. Reads in 5 minutes.

Join 3,315 builders reading daily.

Also get