jxlpy
jxlpy copied to clipboard
Lossless encoding of 12bit images
This PR adds the option to use JxlEncoderSetFrameBitDepth and JxlDecoderSetImageOutBitDepth. This is necessary for lossless reconstruction of images with bit depths other than 8 or 16 bits. I've also added an example demonstrating this.