Leica M8 is bayer camera, so Leica M8 is bayer camera, so data is expected in imgdata.rawdata.raw_image I suggest you to read the docs: https://www.libraw.org/docs/API-datastruct.html#libraw_rawdata_t -- Alex Tutubalin @LibRaw LLC reply
Leica M8 is bayer camera, so data is expected in imgdata.rawdata.raw_image
I suggest you to read the docs: https://www.libraw.org/docs/API-datastruct.html#libraw_rawdata_t