Add new comment

Thank you for your quick

Thank you for your quick answer.

Ok, so I have to use:

processor.imgdata.params.output_bps = 16;
processor.open_file("test1.CR2");
processor.unpack();
processor.dcraw_process();
libraw_processed_image_t* output = processor.dcraw_make_mem_image();

But how i can specify to use the JPEG resolution?
I think it is with:

processor.imgdata.params.cropbox

but how specify the JPEG resolution without hard coding?