HNHacker News
TopNewBestAskShowJobs

jaffathecake

2,893 karma · joined July 8, 2009

submissionscomments
jaffathecake··on eMudhra intermediate CA compromise
A fix is being released. Thanks for reporting! https://blog.mozilla.org/security/2026/10/20/protecting-fire...
jaffathecake··on JPEG XL vs. AVIF for web use-cases
Yep. Look at the replies. He's challenged on it, and doubles down. It's not a joke.
jaffathecake··on JPEG XL vs. AVIF for web use-cases
The Cloudinary one is written by one of the leads of the JPEG XL project.
jaffathecake··on JPEG XL vs. AVIF for web use-cases
I disagree. Making things slower for everyone due to this edge case is a bad tradeoff. Web APIs exist to let you know when zooming in happens. You can swap to a higher resolution, or even tiled image in these cases if you really care about this use-case.
jaffathecake··on JPEG XL vs. AVIF for web use-cases
Browser vendors want their browser to be safe to use. If we encourage users to essentially bake their own browser from a hodge podge of unverified third party code running at high privilege, we don't meet that goal.
jaffathecake··on JPEG XL vs. AVIF for web use-cases
Plethora means an excessive amount, so I disagree.

Adding formats to the browser gives us more code to maintain, increases the binary size, and increases the attack surface area. That's why, at Firefox, we insisted on a Rust decoder.

jaffathecake··on JPEG XL vs. AVIF for web use-cases
Are you sure about that? Wouldn't that make the HDR example look bad in Chrome? The source image is 16 bit. https://jakearchibald.com/2026/jpeg-xl-vs-avif/#lossy---hdr
jaffathecake··on JPEG XL vs. AVIF for web use-cases
No. I'm working with Google on this. But you might be able to find a preview of the next version.
jaffathecake··on JPEG XL vs. AVIF for web use-cases
I'm not aware of any browser that cannot render AVIF 4:4:4. Given that avifenc outputs 4:4:4 by default, I don't expect that to change.
jaffathecake··on JPEG XL vs. AVIF for web use-cases
This is why I added the wasm fallback. The question was why I didn't serve PNGs to everyone.
jaffathecake··on JPEG XL vs. AVIF for web use-cases
That's what I'm talking about. JXL support landed in 158.
jaffathecake··on JPEG XL vs. AVIF for web use-cases
It's not mandatory. But if you don't use it, the browser may select a source it cannot play.
jaffathecake··on JPEG XL vs. AVIF for web use-cases
As someone putting an image on a web page, why would I make detection of artifacts easier?

The images in the article max out at the maximum size I'd want them displayed.

jaffathecake··on JPEG XL vs. AVIF for web use-cases
'high quality' and 'very high quality' are different things.
jaffathecake··on JPEG XL vs. AVIF for web use-cases
> AVIF images have a max size of 8192x4352

This isn't true btw. The format supports up to 64k x 64k, although browser decoders currently fail beyond 16k x 16k.

Not sure when you'd serve something like that on a web page though.

jaffathecake··on JPEG XL vs. AVIF for web use-cases
Sure but this is a technical post aimed at a technical audience.
jaffathecake··on JPEG XL vs. AVIF for web use-cases
It's an unreleased one. There's a whole section in the article about lossless, which includes data on those images, but not this mystery unreleased encoder https://jakearchibald.com/2026/jpeg-xl-vs-avif/#lossless
jaffathecake··on JPEG XL vs. AVIF for web use-cases
Happy to see your version of the cat illustration doesn't come with massive decoder overhead. Are you planning to open source this encoder?
jaffathecake··on JPEG XL vs. AVIF for web use-cases
tune=iq is the main bit https://aomedia.org/blog%20posts/Libavif_v1_4_0-Boasts-Major...
jaffathecake··on JPEG XL vs. AVIF for web use-cases
Oh, yeah, haha!
jaffathecake··on JPEG XL vs. AVIF for web use-cases
You're mistaking CSS pixels for device pixels https://jakearchibald.com/2021/serving-sharp-images-to-high-...
jaffathecake··on JPEG XL vs. AVIF for web use-cases
All browsers support AVIF and JPEG XL now. I was hoping to keep their download size benefits.
jaffathecake··on JPEG XL vs. AVIF for web use-cases
avifenc. The latest version.
jaffathecake··on JPEG XL vs. AVIF for web use-cases
Its creator (me) mentioned the smoothing as a negative.
jaffathecake··on JPEG XL vs. AVIF for web use-cases
Please read the article. All of the comparisons default to "high" quality, according to JXL's own metric.
jaffathecake··on JPEG XL vs. AVIF for web use-cases
jxl-rs is rust (used in Firefox and Chrome), and already faster than libjxl (used in Safari).
jaffathecake··on JPEG XL vs. AVIF for web use-cases
Offering different scalings is pointless because they're designed for a single largest size.
jaffathecake··on JPEG XL vs. AVIF for web use-cases
The original is a single photo.
jaffathecake··on JPEG XL vs. AVIF for web use-cases
Hmm, I haven't tested this, but I'm deeply sceptical. avifenc is now optimised very well for still images, and you're bypassing all of that here.
jaffathecake··on JPEG XL vs. AVIF for web use-cases
https://giannirosato.com/blog/post/case-against-jxl/ suggests JXL is fundamentally limited. We'll see. There's a race on and it's great!
Page 1 of 16Next →