Draft: JXL: preserve HDR data
- FP16 and FP32 images are saved as FLOAT16 instead of UINT16 thus preserving HDR values.
- On loading "JxlBasicInfo::exponent_bits_per_sample" is checked to see if the data is HDR or not.
- HDR images saved with this patch are also loaded correctly by Gimp and Photoshop.
- Older versions of this plugin load them correctly as UINT16 (obviously losing HDR info).
This is an example of an HDR image: memorial.jxl
Edited by Mirco Miranda