Image Sizes issue with Fuji RAF files
Hi,
I am observing some strange behaviour with some Fuji RAF files. My workflow is:
Libraw r;
r.open_file(fileName);
r.unpack()
When I inspect r.imgdata.sizes, I notice the visible image size is reported larger than RAW size. In my specific file, the values are:
3688 2512 for RAW height and Raw width
4291 4292 for Visible height and width
The Aspect Ratio is reported as 1.
I am trying to copy the visible portion of the RAW data into my buffer, but these sizes result in a crash. Reading the entire RAW data works fine.
When I do dcraw_process and dcraw_make_mem_image, I get an RGB image with dimensions 2607x3460x3.
I have observed this only with some RAF files.
Am I missing something trivial?
Recent comments