Problems converting CR2 to PPM
I am trying to use dcraw to convert an image from CR2 to PPM.
The config that I am using is
for %%A in (*.CR2) do dcraw.exe -w -q 1 -h %%A
But the resolution of the image(s) is not exactly half the size after the conversion as before (want them to be subsampled).
The orginal RAW images have 4752x3168 and the converted PPM images have
and 2385*2 = 4770
and 1589*2 = 3178
so it seems to rescale or add 18x10 pixels to the raw images.
Would appreciate any idea of what's happending.
Your commandline is perfectly OK and the outcome is fine too. As a previous poster already eluded too, DCRAW and all DCRAW-based converters include the edge pixels that some other raw converters crop(as well as the in-camera JPEG engine).
|It's good to be at home by Nightcrawler12|
from Best photo of the week...
|Tiny tree by Kaappo|