Tiff output has different resolution to the raw Image?


I'm fairly new to using this library. I'm using the API to convert raw in c++ and output it as a tiff. I'm using the dcraw_process() function to do this. The only thing is the tiff is the wrong resolution. I wonder if there is a setting or something that I am missing. The raw image is 3648x5472 but the tiff is 3670x5496. Raw image is .cr2 format and was taken on a 1dx mark II. Any help or advice would be appreciated.


RAW files from (most/many)

RAW files from (most/many) cameras contains 'black mask', visible image are is less than full raw data (sensor area)

-- Alex Tutubalin @LibRaw LLC

It happens some time,

It happens some time, especially while raw to tiff conversation,left and top gets some dead pixel values.

Bipul Mohanto
Color Management Enthusiastic