
|
Re: Problems converting CR2 to PPM
In reply to Spixxel,
5 months ago
|
Spixxel wrote:
Hi,
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
2385x1589
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.
Best Regards.
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).
--
http://mike.bing-photography.com
http://www.flickriver.com/photos/newmikey/
Opensource: fresher, tastier and cheaper!
| Post (hide subjects) | Posted by | When | |
|---|---|---|---|
| 5 months ago | |||
| 5 months ago | |||
| 5 months ago | |||
| 5 months ago |