Revert “flag_descriptions: Add note about JPEG XL removal”
chromium-review.googlesource.com
chromium-review.googlesource.com
In short, it’s not JPEG 2000.
What about the format Apple has been using for years? Is it AVIF?
In essence: it's best or near-best at almost all workloads, all in one, while being more practical to use to boot. It's just the still image codec you _want_ to be using, instead of having to fiddle with the various tradeoffs the others have.
Need to support non-modern clients or have lots of existing jpegs? jxl allows jpeg recompression with cheap and exact jxl->jpeg reconstruction.
Have tons and tons of images that aren't necessarily going to be viewed often; or have dynamic image generation? Compression is much faster than other competing modern formats; decoding speed
Have some pixel art or geometric diagrams? Jxl does better here than png, and better than all other competing formats (excluding a few very niche hyper-slow research formats).
Just don't want to worry too much about your exact workload? Jxl does well at pretty much everything.
Have users that have the bad habit of opening, editing, and resaving lossy images? Jxl introduces less generation loss.
Have huge images, but don't want to wait for the whole thing to load? Jxl supports progressive decoding.
Have various layers or other editing-workflow-related (meta)data? Jxl supports that, while also having best-in-class compression rates at high or lossless quality, and also having fast encode and decode times
JpegXL is probably the best format to use for almost every image you encounter. That's why it's a shame to see chrome dragging its feet here.
Many objective metrics get really confused about JPEG XL as it uses some pretty advanced psychovisual modeling that is not implemented in usual metrics.
The best metrics to try in my opinion are butteraugli, ssimulacra 2 and -- with some reservations -- dssim.
> I believe it's the only way to view HDR images.
I don't think so. Apart from EXR, AVIF also supports HDR.