3 ms·
BTW, the old JPEG is a ~12-bit format. It's widely assumed to be an 8-bit format, because libjpeg by default gives you output truncated to 8 bits. Unfortunately
by pornel 3y ago
BTW, the old JPEG is a ~12-bit format. It's widely assumed to be an 8-bit format, because libjpeg by default gives you output truncated to 8 bits. Unfortunately, libjpeg made higher depth outputs an either-or compile-time option that breaks the ABI, so nobody enables that mode.
- altairprime 3y agoTIL, and thanks for pointing that out. Apparently there’s a tiny subset of PNG world that can cope with bit-shifted 12-bit, but apparently like JPEG, support is diminished and ultimately not dependable.