frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

The JPEG XL Image Coding History, Features, Coding Tools, Design Rationale

https://arxiv.org/abs/2506.05987
79•ksec•2d ago

Comments

ekunazanu•8h ago
JPEG XL had so much going for it. Kinda sad it was killed off just like that.
fc417fc802•8h ago
JPEG XL is alive and well (as is ublock origin as it happens).
MrAlex94•7h ago
As it currently stands there should be over a billion devices that natively support JPEG-XL, as it was introduced in all Apple OSs since September 2023[1].

On the web alone it should be close to a billion users with support for JXL due to Safari’s market share.

[1]: https://cloudinary.com/blog/jpeg-xl-how-it-started-how-its-g...

ndriscoll•7h ago
It's also supported in Windows, GNOME, KDE, pretty much all image editors/viewers, and pretty much every other relevant program except for chromium based browsers.
account42•7h ago
Not just Chromium-based browsers, Firefox as well. Might not make much of a difference for user counts but it does mean that so far it's available on the web is limited to a single vendor.
_bent•7h ago
they did say "relevant". Though arguably Chromium will probably overthink their decision if both Safari and Firefox support it.
ndriscoll•6h ago
Firefox does support jxl (in the sense that the code is there and works), but it's disabled by default.
account42•3h ago
So does Chrome if you check out the right commits and enable it.

But if you go getfirefox.com, click "Download Firefox" then there will be no JXL support not even behind any configuration flags. So no, it doesn't support it. There are also no plans to enable support with the current implementation.

kevincox•6h ago
Firefox has it implemented (behind a preference on nightly). They just don't want to ship it if Chromium isn't going to because it would cause fragmentation in the web and something they have to maintain forever for a minority of sites (as most won't bother if Chromium based browsers don't support it).
OneDeuxTriSeiGo•6h ago
Tbh it's less about having to maintain it forever and more about not wanting to deal with maintaining a C++ library codebase that would widen the potential attack surface of the browser (due to memory bugs, etc). They are fine adopting it as long as it's in rust (which is being worked on, see sibling comments)
charcircuit•4h ago
Considering firefox is a small fraction of safari's size I don't think it would fragment the web that much.
greenavocado•2h ago
The Mozilla "organizations" are a two-headed grift piggy-backed on a non-profit shell so the IRS keeps smiling.

Firefox hasn't made a technical decision without first forwarding the minutes to Mountain View and Redmond since roughly 2017.

Every nine-figure Google wire lands promptly converts into $450 k-per-head salary vapor and off-site "all-hands," while the same week another 250 actual engineers get an email that begins: "You're talented and valued BUT-."

Servo? Jettisoned.

MDN? Gutted.

Security teams? Re-org'd into a Slack channel no one reads.

And the Foundation helpfully reminds donors:

"Your gifts don't pay for Firefox engineering."

No kidding. They pay for glossy pamphlets proclaiming the open-web gospel, first-class flights to "advocacy summits," and Mitchell Baker's $2.5 million thank-you note. Firefox isn't a browser; it's a loss-leader Google keeps in the closet for the next antitrust subpoena.

OneDeuxTriSeiGo•6h ago
It's worth noting that it is "supported" in Firefox however it's not enabled at compile time for release builds (but is enabled for nightly and testing/validation builds).

Full release/production support will come when the (more or less drop in replacement) rust rewrite of libjxl is production ready.

throw0101c•6h ago
> rust rewrite of libjxl

See:

* https://github.com/libjxl/jxl-rs

arp242•6h ago
It wasn't "killed", it was always disabled by default in Chrome, and removed for really quite reasonable reasons: literally every other image decoder has had serious vulnerabilities. Enabling it by default would expose a gigantic attack surface that almost certainly will be exploited sooner or later.

This is also why Firefox doesn't support it by default (IIRC it doesn't even link against libjpegxl by default in release builds – only nightly ones).

There is nothing preventing the Chrome or Firefox people from revisiting all of this in the future.

It seems to me the Rust implementation of JPEG XL is by far the best path forward for broad JPEG XL support in Firefox, Chrome, and other browsers. While Rust is of course not a complete guarantee there will never be any security issues, it does eliminate virtually all of the major exploits that have targeted image decoders in the past. Both Firefox and Chrome have expressed interest in this.

badgersnake•6h ago
And because they wanted to push WebP
kevincox•6h ago
...which overall is a pretty mediocre image format.
badgersnake•5h ago
VHS was a pretty mediocre medium for video. It didn’t stop JVC.
Dwedit•3h ago
WEBP is two image formats bolted together.

First, there's Lossy WEBP, based on VP8 video compression. It is better than JPEG, but mediocre by today's standards. Lossy AVIF and Lossy JXL greatly outclass lossy WEBP.

Second, there's Lossless WEBP, which is not in any way based on VP8. Lossless WEBP is a stellar image format that not only compresses very well, but also decompresses very quickly. Its biggest competition is Lossless JXL, which usually compresses to a smaller file, but decoding that image is slow enough to be annoying. Sometimes lossless WEBP produces a smaller file than lossless JXL.

kevincox•2h ago
Yes, you are right that the lossless format is much more notable but also much less common than the lossy one. It is quite an improvement over PNG which is the only real competitor on the web.
arp242•5h ago
WebP got added about 15 years ago or so. Chrome (and Firefox) learned the lessons from the problems that caused.

And "push WebP" for that purpose? Google as a whole benefits hugely from reduced image sizes.

Firefox also doesn't implement JXL as I mentioned. Are they trying to "push WebP" too now? This is such conspiratorial nonsense. No evidence for it at all. Doesn't even make any logical sense. Google literally worked (and continues to work) on JXL.

arccy•3h ago
if anything is being pushed these days, it'd be avif
lern_too_spel•3h ago
Then why did they develop libjxl, and why are they working on jxl-rs? https://github.com/libjxl/libjxl/blob/main/AUTHORS https://github.com/libjxl/jxl-rs/blob/main/AUTHORS

Maybe their stated reason for not enabling support in Chrome is the actual reason.

OneDeuxTriSeiGo•6h ago
JXL is still alive and well, it's just taking time to reach the prime time.

- Mac OS, iOS, and Safari support JPEG-XL

- Windows has first party JPEG-XL support as of this year (admittedly it's opt in rather than default)

- Essentially every major image processing app, editor, or drawing app supports JPEG-XL

- Firefox has preliminary support for JPEG-XL gated behind a feature flag and the nightly release.

- The JPEG-XL team is writing a direct port of the reference libjxl library into rust[1]. There already exists a third party rust port by some of the mainline contributors and it has ironed out a lot of the issues with the porting process prior to this mainline port. This first party rust port is intended to be gradually brought up to a hardened, production ready state.

- Mozilla has stated they have no objections to fully adopting JPEG-XL in Firefox once the rust port is production ready [2].

The last major barriers other than getting the rust code production ready will be chrome and android's first party support/adoption.

------

TLDR: JPEG-XL is very much not dead and instead people are nose down working hard to continue pushing its adoption forward.

------

1. https://github.com/libjxl/jxl-rs

2. https://github.com/mozilla/standards-positions/pull/1064

ekunazanu•5h ago
> To address this concern, the team at Google has agreed to apply their subject matter expertise to build a safe, performant, compact, and compatible JPEG-XL decoder in Rust, and integrate this decoder into Firefox.

I was not aware of this. Also judging by this and the sibling comments, it looks like the momentum didn't die despite Google's apathy. Hopefully the fact that their own team is now developing the rust port, as well as the growing support in other platforms, is enough to make Google reconsider its choices.

jeffbee•5h ago
I am still surprised that WUFFS isn't being used to address safety concerns with the JPEG-XL reference library.
OneDeuxTriSeiGo•23m ago
IMHO it's because the WUFFS code for just vanilla JPEGs is in the most polite terms "jaw droppingly horrific" and JPEG-XL is an order of magnitude more complex.
kllrnohj•4h ago
> it looks like the momentum didn't die despite Google's apathy.

Google is a founding organization of jpeg-xl and are a core part of the team. Chromium punted it, but Google as an organization hasn't exactly since they haven't pulled out of jpegxl itself nor removed their engineers from it.

Big companies are big, they do conflicting things from time to time. Or often.

donatzsky•6h ago
It wasn't killed off. Support was removed from Chrome, for what appears to be rather spurious reasons, but practically everyone else are busy implementing it.
jandrese•3h ago
Sadly removing support from Chrome is effectively the same as killing it off. And the reason is Google wants people to use webp instead.
greenavocado•2h ago
Friendly reminder that WebP is trash https://www.youtube.com/watch?v=w7UDJUCMTng
can16358p•1h ago
While I'm not the biggest fan of WebP, using generation loss as a metric wouldn't be an indicator of a real world scenario. I can't think of any actual instance where an image needs to be re-encoded, say, 10 times, let alone 100+ times.
greenavocado•1h ago
What do you think happens to images shared and re-shared between people online?
OneDeuxTriSeiGo•20m ago
Not really? Chrome dropped support but Google is actually supporting the JPEG-XL rust port that Firefox is waiting on.
Dwedit•3h ago
There's nothing stopping you from using it in your own applications. Just not directly in the browser for now.
robertoandred•3h ago
It works in Safari and is coming to Firefox.
_bent•7h ago
This appears to be very well written and easy to understand even if you only know the basics of digital image encoding.

I found the parts about patching and frames with different blend modes very fascinating. I wonder if it would be possible to build a GUI DCC app that uses JpegXL as its project format. It seems that it could support layers, splines, symbols (transformed instances of layers), blend modes and animations without "baking" any of it to pixels

NIST Ion Clock Sets New Record for Most Accurate Clock in the World

https://www.nist.gov/news-events/news/2025/07/nist-ion-clock-sets-new-record-most-accurate-clock-world
163•voxadam•3h ago•50 comments

Helix Editor Release 25.07 Highlights

https://helix-editor.com/news/release-25-07-highlights/
18•matrixhelix•20m ago•3 comments

Show HN: Shoggoth Mini – A soft tentacle robot powered by GPT-4o and RL

https://www.matthieulc.com/posts/shoggoth-mini
188•cataPhil•3h ago•37 comments

Encrypting Files with Passkeys and Age

https://words.filippo.io/passkey-encryption/
54•Bogdanp•1h ago•5 comments

To be a better programmer, write little proofs in your head

https://the-nerve-blog.ghost.io/to-be-a-better-programmer-write-little-proofs-in-your-head/
87•mprast•2h ago•45 comments

LLM Inevitabilism

https://tomrenner.com/posts/llm-inevitabilism/
1364•SwoopsFromAbove•15h ago•1257 comments

Show HN: Beyond Z²+C, Plot Any Fractal

https://www.juliascope.com/
23•akunzler•1h ago•7 comments

Reflections on OpenAI

https://calv.info/openai-reflections
161•calvinfo•2h ago•103 comments

Designing for the Eye: Optical Corrections in Architecture and Typography

https://www.nubero.ch/blog/015/
31•ArmageddonIt•1h ago•2 comments

Petabit-class transmission over > 1000 km using standard 19-core optical fiber

https://www.nict.go.jp/en/press/2025/05/29-1.html
42•the_arun•2d ago•11 comments

CoinTracker (YC W18) is hiring to solve crypto taxes and accounting (remote)

1•chanfest22•2h ago

Blender 4.5 LTS Released

https://www.blender.org/download/releases/4-5/
194•obdev•4h ago•56 comments

Adding lookbehinds to rust-lang/regex

https://systemf.epfl.ch/blog/rust-regex-lookbehinds/
63•emschwartz•4h ago•19 comments

Meta shareholders look to haul CEO Mark Zuckerberg, Sheryl Sandberg to court

https://nypost.com/2025/07/15/business/meta-shareholders-aim-to-haul-ceo-mark-zuckerberg-sheryl-sandberg-to-court/
33•1vuio0pswjnm7•52m ago•8 comments

KDE's official Roku/Android TV alternative is back from the dead

https://www.neowin.net/news/kdes-android-tv-alternative-plasma-bigscreen-rises-from-the-dead-with-a-better-ui/
62•bundie•2h ago•11 comments

Lorem Gibson

http://loremgibson.com/
27•DyslexicAtheist•2d ago•4 comments

A quick look at unprivileged sandboxing

https://www.uninformativ.de/blog/postings/2025-07-13/0/POSTING-en.html
24•zdw•2d ago•2 comments

Show HN: I built this to talk Danish to my girlfriend – works with any language

https://menerdu.vercel.app/
150•lil_csom•2d ago•80 comments

Apple's MLX adding CUDA support

https://github.com/ml-explore/mlx/pull/1983
510•nsagent•21h ago•179 comments

Mira Murati's AI startup Thinking Machines raises $2B in A16Z-led round

https://www.reuters.com/technology/mira-muratis-ai-startup-thinking-machines-raises-2-billion-a16z-led-round-2025-07-15/
40•spenvo•2h ago•28 comments

Show HN: We made our own inference engine for Apple Silicon

https://github.com/trymirai/uzu
113•darkolorin•8h ago•33 comments

Literalism plaguing today’s movies

https://www.newyorker.com/culture/critics-notebook/the-new-literalism-plaguing-todays-biggest-movies
177•frogulis•15h ago•297 comments

Mistralai/Voxtral-Mini-3B-2507 · Hugging Face

https://huggingface.co/mistralai/Voxtral-Mini-3B-2507
20•thunderbong•1h ago•1 comments

Open-source framework for real-time AI voice

https://github.com/videosdk-live/agents
27•sagarkava•1h ago•6 comments

LIGO detects most massive black hole merger to date

https://www.caltech.edu/about/news/ligo-detects-most-massive-black-hole-merger-to-date
342•Eduard•23h ago•179 comments

VHS, VCDs, and Laserdiscs in Southeast Asia

https://rubenerd.com/vcds-and-laserdiscs-in-southeast-asia/
82•mikece•4d ago•45 comments

Cognition (Devin AI) to Acquire Windsurf

https://cognition.ai/blog/windsurf
480•alazsengul•1d ago•397 comments

Ask HN: Is it time to fork HN into AI/LLM and "Everything else/other?"

315•bookofjoe•4h ago•234 comments

Protecting my attention at the dopamine carnival

https://www.amirsharif.com/protecting-my-attention-at-the-dopamine-carnival
141•overload119•19h ago•103 comments

"English Translators of Homer": A Review

https://whatisthequestion.wordpress.com/2025/07/12/english-translators-of-homer-by-simeon-underwood/
24•johngossman•3d ago•16 comments