CR3 and 16 bit support


I am trying to convert CR3 images to 16 bit fits files used RAW2FITS, which uses libraw. I have the newest libraw installed, which supports cr3.

When converting to 8 bit images, everything looks fine. However, when setting the output_bps to 16 everything is garbled, at the libraw level. First of all, pixel values are all still 8 bit (max values of 255) and their coordinates are wrong also.

Any help is appreciated.