Why JPEG XL Ignoring Bit Depth Is Genius (and Why AVIF Can't Pull It Off)

fractionalxperience.com

81 points by Bogdanp 6 hours ago


diffuse_l - 5 hours ago

I think the article could be better and get the point across with half the length and without the second half of it being full of ai generated list of advantages, or using that space to give some more technical information

est - 5 hours ago

> JPEG XL’s Radical Solution: Float32 + Perceptual Intent

So 2^32 bit depth? 4 bytes seems an overkill.

kiicia - 5 hours ago

jpeg xl is fantastic, yet autocratic google wants to force inferior format

zokier - 5 hours ago

Working with single fixed bit depth is imho different than being bit-depth agnostic. Same argument could be made about color spaces too.

colonwqbang - 3 hours ago

So they "ignore" bit depth by using 32 bits for each sample. This may be a good solution but it's not really magic. They just allocated many more bits than other codecs were willing to.

It also seems like a very CPU-centric design choice. If you implement a hardware en/decoder, you will see a stark difference in cost between one which works on 8/10 vs 32 bits. Maybe this is motivated by the intended use cases for JPEG XL? Or maybe I've missed the point of what JPEG XL is?

WithinReason - 4 hours ago

Yes, this is great, but why don't we make the same argument for resolution too? I think we should!

fleabitdev - 3 hours ago

Interesting approach. It doesn't even introduce an extra rounding error, because converting from 32-bit XYB to RGB should be similar to converting from 8-bit YUV to RGB.

However, when decoding an 8-bit-quality image as 10-bit or 12-bit, won't this strategy just fill the two least significant bits with noise?