Need Help Urgently: Convert CR2 to png

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
techdev
Posts: 10
Joined: 2013-10-07T11:20:28-07:00
Authentication code: 6789

Re: Need Help Urgently: Convert CR2 to png

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Need Help Urgently: Convert CR2 to png

Post 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.
techdev
Posts: 10
Joined: 2013-10-07T11:20:28-07:00
Authentication code: 6789

Re: Need Help Urgently: Convert CR2 to png

Post 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.
techdev
Posts: 10
Joined: 2013-10-07T11:20:28-07:00
Authentication code: 6789

Re: Need Help Urgently: Convert CR2 to png

Post 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 ?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Need Help Urgently: Convert CR2 to png

Post by snibgo »

It is capital letter "O". See thread viewtopic.php?f=2&t=22606
snibgo's IM pages: im.snibgo.com
Post Reply