Page 2 of 2

Re: Need Help Urgently: Convert CR2 to png

Posted: 2013-10-08T14:53:22-07:00
by techdev
Thanks for pointing it out !

<delegate decode="dcraw8" command="/opt/local/bin/dcraw -6 -w -o "%u.ppm" "%i""/>

I hope its alphabet 'o' not number 0 (zero). Anyway i tried both and error message is below :

sh-3.2# convert dcraw8:test.CR2 test.png
convert: unable to open image `/var/tmp/magick-23253eD8FpkC9lh0E': No such file or directory @ error/blob.c/OpenBlob/2643.
convert: unable to open file `/var/tmp/magick-23253eD8FpkC9lh0E': No such file or directory @ error/constitute.c/ReadImage/591.
convert: no images defined `test.png' @ error/convert.c/ConvertImageCommand/3108.

Re: Need Help Urgently: Convert CR2 to png

Posted: 2013-10-08T14:59:47-07:00
by fmw42
dlemstra wrote:You are missing the '-O' option.
perhaps it is capital -O not -o? I am not sure but are unix arguments not case sensitive.

Re: Need Help Urgently: Convert CR2 to png

Posted: 2013-10-08T15:21:41-07:00
by techdev
No..not capital O :

Unknown option "-O".
convert: delegate failed `/opt/local/bin/dcraw -6 -w -O "%u.ppm" "%i"' @ error/delegate.c/InvokeDelegate/1065.

Re: Need Help Urgently: Convert CR2 to png

Posted: 2013-10-09T09:59:03-07:00
by techdev
I was going through several other post and came to know that recent version of dcraw doesn't support "-o".

Is there a way to use same version of dcraw and implement this ?

Re: Need Help Urgently: Convert CR2 to png

Posted: 2013-10-09T11:35:32-07:00
by snibgo
It is capital letter "O". See thread viewtopic.php?f=2&t=22606