News for hackers. Stuff that matters.

jaffathecake

Re:EMudhra Intermediate CA Compromise on Wednesday October 21, 2026 @08:12AM (#50179587)
A fix is being released. Thanks for reporting! https://blog.mozilla.org/security/2026/10/20/protecting-fire...
Re:JPEG XL vs. AVIF for web use-cases on Sunday October 18, 2026 @12:50AM (#50138006)
Yep. Look at the replies. He's challenged on it, and doubles down. It's not a joke.
Re:JPEG XL vs. AVIF for web use-cases on Saturday October 17, 2026 @03:54PM (#50134481)
The Cloudinary one is written by one of the leads of the JPEG XL project.
Re:JPEG XL vs. AVIF for web use-cases on Saturday October 17, 2026 @09:54AM (#50131207)
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.
Re:JPEG XL vs. AVIF for web use-cases on Saturday October 17, 2026 @04:55AM (#50129198)
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.
Re:JPEG XL vs. AVIF for web use-cases on Saturday October 17, 2026 @02:18AM (#50128462)
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.

Re:JPEG XL vs. AVIF for web use-cases on Saturday October 17, 2026 @02:10AM (#50128431)
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
Re:JPEG XL vs. AVIF for web use-cases on Saturday October 17, 2026 @02:05AM (#50128407)
No. I'm working with Google on this. But you might be able to find a preview of the next version.
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @10:21PM (#50127279)
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.
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @10:15PM (#50127236)
This is why I added the wasm fallback. The question was why I didn't serve PNGs to everyone.
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @05:22PM (#50124953)
That's what I'm talking about. JXL support landed in 158.
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @05:18PM (#50124883)
It's not mandatory. But if you don't use it, the browser may select a source it cannot play.
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @05:12PM (#50124799)
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.

Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @05:08PM (#50124748)
'high quality' and 'very high quality' are different things.
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @05:07PM (#50124731)
> 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.

Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @05:04PM (#50124688)
Sure but this is a technical post aimed at a technical audience.
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @05:03PM (#50124668)
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
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @05:01PM (#50124635)
Happy to see your version of the cat illustration doesn't come with massive decoder overhead. Are you planning to open source this encoder?
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @03:16PM (#50123103)
Oh, yeah, haha!
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @02:53PM (#50122761)
You're mistaking CSS pixels for device pixels https://jakearchibald.com/2021/serving-sharp-images-to-high-...
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @02:52PM (#50122725)
All browsers support AVIF and JPEG XL now. I was hoping to keep their download size benefits.
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @02:50PM (#50122692)
avifenc. The latest version.
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @02:48PM (#50122665)
Its creator (me) mentioned the smoothing as a negative.
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @02:46PM (#50122641)
Please read the article. All of the comparisons default to "high" quality, according to JXL's own metric.
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @02:45PM (#50122622)
jxl-rs is rust (used in Firefox and Chrome), and already faster than libjxl (used in Safari).
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @02:44PM (#50122601)
Offering different scalings is pointless because they're designed for a single largest size.
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @02:41PM (#50122556)
The original is a single photo.
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @02:40PM (#50122536)
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.
Re:JPEG XL vs. AVIF for web use-cases on Friday October 16, 2026 @01:53PM (#50121836)
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!

Older ยป