The files you sent are The files you sent are monochrome tiffs, I do not have any idea what I could see from these files. With LibRaw 0.20: both for Canon 2000D/1500D and Canon 1200D files, imgdata.idata.filters is 0x4b4b4b4b I do not see any problem with colors when demosaicing using LibRaw::dcraw_process(). BTW, in your code i see: g_snprintf(fit->row_order, FLEN_VALUE, "%s", "BOTTOM-UP"); Is there any possibility that this results in bayer pattern use from the bottom row, not top? -- Alex Tutubalin @LibRaw LLC reply
The files you sent are monochrome tiffs, I do not have any idea what I could see from these files.
With LibRaw 0.20: both for Canon 2000D/1500D and Canon 1200D files, imgdata.idata.filters is 0x4b4b4b4b
I do not see any problem with colors when demosaicing using LibRaw::dcraw_process().
BTW, in your code i see:
g_snprintf(fit->row_order, FLEN_VALUE, "%s", "BOTTOM-UP");
Is there any possibility that this results in bayer pattern use from the bottom row, not top?