cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
chi
Strollin' around
Status: Trending idea

I think it's a great opportunity for Firefox to stand out by supporting JPEG XL before any other browser.

Imagine images served by Cloudflare and Cloudinary load faster and look better only with Firefox. Firefox was a pioneer of web technologies and it should win the title back, if Firefox just keep following Chrome without any differentiation, why would people choose Firefox?

If the decoder memory safety is a concern, maybe Mozilla can start a crowd funding campaign to sponsor a Rust decoder, even the campaign itself will attract reports and attentions for Firefox.

Mozilla argued AVIF was already supported as a same generation but clearly JPEG XL has many advantages:

  • Much better encoding performance (AVIF is not suitable for realtime CDN optimization at all)
  • lossless and better high fidelity (video codec based image format)
  • HDR (there will be a billion of mobile devices with real good & bright screen in just a few years)
  • Little generation loss (important for web)

Supports from Facebook, Adobe (they're adding export support), Intel and VESA, Krita, The Guardian, libvips, Cloudinary, Shopify

comparison

130 Comments
Simile9041
Strollin' around

At least make the flag in "about:config" work in stable Firefox! That can't be so hard can it?

Forks like Waterfox or Floorp or even Pale Moon support JPEG XL out of the box with no complaints about bugs.

conrad
Strollin' around

So now Apple supports it in macOS/iOS/Safari, Samsung has added support in its camera/gallery apps in the last couple weeks, we've seen evidence that Microsoft is adding it to WIC which effectively means Windows/Explorer will have complete native support, every Linux distro I've checked has libjxl available, every Qt-based program/viewer supports it or can trivially add support for it, I can save it in Affinity Photo 2, or Krita, or GIMP, or darkroom, or Paint.NET (and Adobe has added support to some of their products like Camera RAW, is actively working on adding it to PS, and recommends using it or AVIF for HDR images on their website). There's a C++ implementation, a Rust one, a Java one, and a JS+WASM polyfill. Companies like Shopify and Cloudinary are eagerly wanting support.

But Father Chromium doesn't want it and so I guess supposed-FOSS-advocate Firefox must sit here twiddling their thumbs (despite the fact that multiple forks of Firefox support it).

RafaelLinux
New member

Simile9041, I can't believe what I'm reading. What's the matter with Mozilla?

cmscy
New member

Mozilla has now a new CEO and she promised that they will double down on their core products and Firefox, so we pray they will hire developers, fix the colorspace issues, enable JXL, the new code, not the outdated from nightly, get better codec support, get HDR running(also needed for JXL because it is progressive lossless with animation and HDR support) and all those, before 2025, because firefox is dead, especially when Floorp and Waterfox already have JXL running, are in active development, and if they had more funding, you know the colorspace and HDR would had been patched and shipped by now

RafaelLinux
New member

I wish that happens sooner than later, thanks for the info!!!!

Yoochan
Strollin' around

as stated previously, using the patches applied by waterfox, the support of jpegxl should be a breeze

Rez
New member

I'm curious if lack of support isn't a result of pressure from Google, who want to promote webp, considering the amount of funding Mozilla receives from Google/Alphabet.

conrad
Strollin' around

@RezI think it's more likely that they don't want to expend limited development resources on a format that won't get widespread adoption on websites unless the browser engine with a de facto monopoly on the market decides everyone else is allowed to use it.

That said, I think there has been such overwhelming support from everywhere in the industry outside of web browsers (especially in the context of how long adoption of new formats normally takes, including the older formats of WebP and AVIF), combined with how much work has already been done between Firefox and its forks that they should move forward on this regardless.

The benefits of JXL have already been expounded upon a thousand times so I won't do it again, but it really seems like this is an issue with internal politics at Google:

1) Google itself has people in Google Research working on JXL decoders and such, so it's not even the entire company from the top down being opposed to its adoption.

2) There are multiple people on the Chromium team that were involved in the creation of WebP and/or AVIF, including the guy who approved removing the flag for JXL support and then authored the commit that tore out all of the JXL code. He's listed as one of the co-authors of WebP and is the primary contributor to libwebp.

The hardest parts of creating a new, feature-rich, royalty-free media format adopted have already been done, namely the creation of the standard itself, the creation of multiple decoders, and wide, ongoing industry support outside of the browser market. It would be criminal to let the internal politics of a single, publicly-traded ad company smother an excellent format in the crib in favor of their own repurposed-video-keyframe formats.

Jarek
New member

https://opensource.googleblog.com/2024/04/introducing-jpegli-new-jpeg-coding-library.html

"Introducing Jpegli: A New JPEG Coding Library (...) 35% compression ratio improvement at high quality compression settings." for the old JPEGs, beside recompression - in JPEG XL library we users of Firefox are still waiting for ...

RafaelLinux
New member

Thanks Jarek. Just I read today that new and I understood why Google is no interested in promoting JXL. Instead of using and supporting a standard with incredible features and versatility, they release a standard "derived" from JXL that will need to rely on other libraries anyway. Nothing is mentioned about it providing anything more than compression. If we already had WebP as a standard available in all browsers, the sensible step would have been to gradually move away from JPG and WebP to JXL. But no, better to add more complexity to the tangle...