Add new comment

Canon CR3 file - returning wrong image size?

Canon Ra camera with CR3 files is not cropping the right / bottom off the sensor data correctly.

exiftool reports:
Sensor Width : 6888
Sensor Height : 4546
Sensor Left Border : 156
Sensor Top Border : 58
Sensor Right Border : 6875
Sensor Bottom Border : 4537

returned image is 4498 x 6742
but it should be 4480 x 6720

it looks like right / bottom border values are not being picked up. If I crop 22 from right and 18 from bottom I get an image that matches the image from other apps and the camera's own jpeg version.

6875+1 - 156 => 6720
6888 - 156 => 6732

I am on version 0.20.2, but there doesn't seem to be anything in changelog for 0.21 that might fix this

dcraw-emu generates output files that demonstrate this

Forums: