Hacker News new | ask | show | jobs
by viraptor 1105 days ago
I'm trying to understand the motivation here. There's a few new image formats as potential candidates: jpeg xl, webp v2, avif, heic. Apple already had heic in the os, but still not Safari AFAIK. Avif has the benefit of hardware encoders/decoders (with limited chroma options though).

I see the HDR mentioned in other comments which is interesting.

Are there any (potential conspiracy) reasons they would choose not to go for another format?

I'm trying to understand how they arrived at this answer given it was available for years and ignored in popular software.

2 comments

I'm confused where you got "it was available for years and ignored in popular software" from? Most of the ISO standard was only published last year, with the last bit being published in October 2022. IIRC AVIF is almost ~4 years old by the same standards and WebP is over a decade old.

Adobe has partial support (in Camera RAW) with presumably further support coming considering their website recommends JXL alongside AVIF for HDR images. It's also supported by Affinity Photo 2, Krita, Darkroom, GIMP, ffmpeg, ImageMagick, Paint.net, anything Qt/KDE-based via plugin, Pale Moon, libvips, and almost every third-party image viewer that I've ever used or heard of (nomacs, Irfanview, ImageGlass, xnView, etc.). It also has had vocal support from senior engineers at a variety of companies like Facebook, Shopify, Cloudinary, Intel, Flickr, etc.

My first thought when I heard about JXL several months ago was "oh, a new JPEG-2000?" but I've quickly become a JXL evangelist after reading more about it and then playing around with libjxl myself.

https://jpegxl.info/why-jxl.html

https://jpegxl.io/articles/faq/

https://cloudinary.com/blog/the-case-for-jpeg-xl

Aside from JPEG 2000, which did in fact gain traction in a few verticals, the grandparent might have also confused it for JPEG-LS (1999), JPEG XR (2009), JPEG XT (2015), or JPEG XS (2019).

Honestly I think the biggest risk to adoption of JPEG XL might be this prior brand dilution.

https://en.wikipedia.org/wiki/Lossless_JPEG#JPEG-LS

https://en.wikipedia.org/wiki/JPEG_2000

https://en.wikipedia.org/wiki/JPEG_XR

https://en.wikipedia.org/wiki/JPEG_XT

https://en.wikipedia.org/wiki/JPEG_XS

(Facepalm) I was totally thinking of jpeg2000 not jpeg xl. That makes so much more sense!
LOL well that makes much more sense. Hopefully JXL doesn't go the way of JPEG2000 (based on how things have gone thus far and its impressive featureset, I think it might be safe).
The big feature JPEG XL offers that HEIC and AVIF do not is lossless filesize reduction for JPEG images (such as those produced by basically every non-iphone camera).

Also AVIF and HEIC as specified don't support >8k images.