Initially I thought the false color is my wrong and that is why I have put in the dcraw_ppm_tiff_writer("test.ppm") line in the code and the output is corrupted.
I am now trying the C interface and MingW. I will soon know if the problem persists.
P.S. Please consider exposing copy_mem_image() in C API, it will save a lot of memory copying from one buffer to another.
Hi Alex,
Initially I thought the false color is my wrong and that is why I have put in the dcraw_ppm_tiff_writer("test.ppm") line in the code and the output is corrupted.
I am now trying the C interface and MingW. I will soon know if the problem persists.
P.S. Please consider exposing copy_mem_image() in C API, it will save a lot of memory copying from one buffer to another.