News for hackers. Stuff that matters.
Re:macOS 14 will support JPEG XL by jeffbee on Monday June 05, 2023 @05:43PM (#36204262)
Can you explain to the rest of us what about JPEG XL applies to that use case? If you asked me to store lossless, 16-bit (per channel, or monochrome, I am assuming) images I would suggest TIFF.
Re:macOS 14 will support JPEG XL by lonjil on Monday June 05, 2023 @05:52PM (#36204406)
I think they want better compression. JXL has excellent lossless compression.
Re:macOS 14 will support JPEG XL by brigade on Monday June 05, 2023 @06:03PM (#36204599)
At 16 bits, a significant amount of the data is effectively noise. Which doesn't lend itself well to any lossless compression.

I'd be very impressed if JXL achieved even 15% better compression for such images (and if it did then I'd bet those images are closer to effectively 12bits or less); the absolute best case of 8bit JXL vs PNG it was like 30%. And that's more because PNG is terrible compression-wise than JXL being good.

Re:macOS 14 will support JPEG XL by vetinari on Tuesday June 06, 2023 @04:43AM (#36209930)
TIFF is a container, it can have payload with different compression schemes, lossy or lossless. Including JXL.
Re:macOS 14 will support JPEG XL by account42 on Tuesday June 06, 2023 @10:08AM (#36213032)
TIFF can be used as a container. It also comes with its own (relatively shitty) compression methods which is probably what you'd end up using if you wanted 16-bit TIFFs today.

And tiff as a container for JXL would no less require JXL adoption than plain JXL.