Add new comment

Does LibRAW take care of image rotation?

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.

Forums: