My code is as follows -
RawProcessor.open_file("FILE.NEF"); imgD.params.use_camera_wb=1; imgD.params.user_flip = 0; RawProcessor.unpack(); RawProcessor.adjust_sizes_info_only(); RawProcessor.dcraw_process(); RawProcessor.copy_mem_image()
However, thsi code does not rotate images to the correct indentation. Should I expect it to? Is RawProcessor.adjust_sizes_info_only();
supposed to adjust the orientation of the image? My pictures are taken from a Nikon D7000 camera.
Thank you.
Correct orientation of the image.
I discovered that the line
imgD.params.user_flip = 0;
was an unnecessary line. Things worked after removing it from my code.Also I forgot to include
and
in the original code.
Bharath Bhushan Lohray
http://bharath.lohray.com/weblog/