Firefox Now Supports a Better, Faster Image Format

TL;DR: Firefox 158 now supports the JPEG-XL image format by default. This move could lead to faster, higher-quality images on the web, giving developers a powerful new tool for optimizing site performance and user experience.
Key facts
- Category
- Tech Updates
- Impact
- High
- Published
- Source
- Slashdot
Full summary
Firefox 158 now supports the JPEG-XL image format by default, offering developers a new way to deliver faster, higher-quality web images.
Mozilla has released Firefox 158, and its most significant update is the default enablement of the JPEG-XL image format. As reported by Phoronix, this change moves the modern image codec from an experimental flag to a standard feature, signaling Mozilla’s confidence in its stability and utility. The update also adds JPEG-XL to the browser's default `Accept` header, which allows servers to automatically send the more efficient image format to compatible browsers without any client-side scripting. This release is a notable development for web standards and performance, directly impacting how developers can build faster and more visually rich websites. The update is rounded out with smaller improvements, including better form-filling capabilities and new CSS typed-arithmetic support for front-end engineers.
JPEG-XL, or JXL, is a next-generation image format designed to be a universal replacement for older formats like JPEG, PNG, and GIF. Its primary advantage is superior compression efficiency, meaning it can produce significantly smaller file sizes than traditional JPEGs at a comparable or even higher visual quality. Unlike WebP or AVIF, JPEG-XL also offers a smooth transition path by allowing existing JPEG files to be losslessly re-encoded to the new format, reducing their size by about 20% without any quality degradation. The format is incredibly versatile, supporting high dynamic range (HDR), wide color gamuts, transparency, and even animations. By enabling it by default and including `image/jxl` in the `Accept` header, Firefox is telling web servers it's ready to handle this advanced format, paving the way for its broader adoption.
The decision by Mozilla is particularly significant in the context of the wider browser landscape. In late 2022, Google made the controversial decision to remove experimental JPEG-XL support from its Chrome browser, citing a lack of sufficient ecosystem interest and incremental benefits over existing formats like AVIF. This move effectively stalled the format's momentum, as developers are hesitant to adopt technologies not supported by the world's most popular browser. Firefox's full-throated endorsement now re-ignites the debate over web image standards. It positions Mozilla as a champion of open standards and developer choice, pushing back against the de facto control Google exerts over the web ecosystem. This creates a fragmented environment but also fosters competition, which can ultimately lead to better technology for everyone.
For developers and engineering leaders, this update presents both an opportunity and a challenge. Teams can now begin using JPEG-XL to serve smaller, higher-quality images to the significant portion of their audience using Firefox, which can directly improve Core Web Vitals, reduce bandwidth costs, and enhance user experience. However, due to the lack of support in Chrome and other browsers, it cannot be the sole image format used. The practical path forward involves implementing a content negotiation strategy, where the web server detects browser capabilities via the `Accept` header and serves the best available format—JXL for Firefox, AVIF or WebP for Chrome, and a traditional JPEG as a fallback. While this adds complexity to image delivery pipelines, the performance gains can be substantial. This move by Firefox puts pressure on other browser vendors to reconsider their stance, making JPEG-XL a critical format to watch.
Why it matters
Firefox enabling JPEG-XL by default reopens the debate on next-generation image formats, directly challenging Google Chrome's ecosystem dominance. For developers, this provides a powerful new option for web performance optimization, but also highlights the ongoing fragmentation of web standards that complicates cross-browser development.
Business impact
This update positions Firefox as a proponent of open web standards, potentially attracting developers frustrated with Google's control. For businesses, adopting JPEG-XL could lower bandwidth costs and improve user experience on Firefox, but the lack of universal support means investing in multi-format image delivery systems remains a necessity.
Tags
Related on Notifire
Related stories
Primary source: Slashdot