Mozilla Comes Out Neutral On JPEG-XL Image Format Support

Written by Michael Larabel in Mozilla on 31 January 2023 at 06:41 AM EST. 112 Comments
MOZILLA
While JPEG-XL image support has been available opt-in within Firefox Nightly builds for testing, Mozilla has finally weighed in on the JPEG-XL debate and has come out "neutral" on the matter for this modern raster image file format.

A few months back was the surprising news of Google deciding to deprecate JPEG-XL image support in their Chrome web browser. Google went ahead with Chrome 110 and removed the JPEG-XL support. Mozilla meanwhile has continued to offer JPEG-XL as an opt-in feature within nightly builds of the Firefox web browser.

Mozilla JPEG-XL position


Going back to May 2021 has been a request for Mozilla's position on JPEG-XL as an image standard. Finally overnight via Mozilla's Martin Thomson there is a published opinion on the matter:
"After a lot of consultation (and time, sorry), we've concluded that we are neutral on JPEG-XL.

There are two competing forces in play here that we need to acknowledge explicitly. Adding new formats comes with a cost, not just to us (adding, securing, and maintaining code is non-trivial), but to the Web as a whole. On the whole, having fewer formats is better for the Web as that limits the complexity of authoring and serving content. We support multiple formats only to the extent that those formats address the needs of people and sites.

We might assess a format based on features that it provides and the overall performance of the format, which includes a range of factors including compression ratios, CPU cost, and image quality. We might also look at how widely a format is used; features and performance advantages matter less for widely used formats. New formats need to justify their inclusion on the basis that they provide some material advantage over what exists.

On the other hand, the Web has a ton of raster image formats already with many of the same problems. Adding yet another format doesn't make the Web significantly worse for it. We acknowledge that JPEG-XL offers some potential advantages, both in terms of features and performance.

Overall, we don't see JPEG-XL performing enough better than its closest competitors (like AVIF) to justify addition on that basis alone. Similarly, its feature advancements don't distinguish it above the collection of formats that are already included in the platform.

So we don't see support for JPEG-XL as either good or bad for the Web. We might find it necessary to support the format if usage becomes more widespread, but that will be a product decision[1].

[1] Some reminders regarding the product planning point: Our positions on standards do influence product planning for Firefox, but they are not the only thing we consider when planning what features to build and ship. We also request that people seeking to provide updates on changes in market conditions refrain from doing so. We can re-open a position when there is new information, but updates on market conditions will not typically cause us to change our position here."

One of the key takeaways is: "Overall, we don't see JPEG-XL performing enough better than its closest competitors (like AVIF) to justify addition on that basis alone. Similarly, its feature advancements don't distinguish it above the collection of formats that are already included in the platform." Google and others have also sided with AVIF as their preferred next-generation image format and based on AV1 tech.

Mozilla is neutral on JPEG-XL


With this commit, Mozilla has now officially acknowledged its neutral stance on JPEG-XL support.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week