can't convert: cr2 , crw, and dng

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?".
fordfasterr
Posts: 15
Joined: 2012-09-03T14:08:55-07:00
Authentication code: 67789

Re: can't convert: cr2 , crw, and dng

Post by fordfasterr »

So, other than the crash I'm getting with one particular .DNG image, all of the others are working as expected.

Here is the delegates.xml line for ufraw that I'm using...

Code: Select all

  <delegate decode="dng:decode" command=""ufraw-batch" --create-id=also --out-type=tiff16 --output=%u.png "%i""/>

I hope this helps (someone) out there.
pumplerod
Posts: 6
Joined: 2013-12-06T15:24:24-07:00
Authentication code: 6789

Re: can't convert: cr2 , crw, and dng

Post by pumplerod »

Is there a proper solution for this? I have changed my delegate.xml file to reflect the same changes but have no luck converting a dng file.

It took me a while to figure out where the delegate.xml file was. I have installed on Mac using HomeBrew so the file was in:

Code: Select all

/usr/local/Cellar/imagemagick/6.8.7-7/etc/ImageMagick-6/delegates.xml
My error:

Code: Select all

convert -verbose 000000.dng 000000.png
"ufraw-batch" --create-id=also --out-type=tiff16 --out-depth=16 "--output=/var/tmp/magick-46141j8xM1nXIStdI.png" "/var/tmp/magick-46141mOs-7riRLd92"
convert: delegate failed `"ufraw-batch" --create-id=also --out-type=tiff16 --out-depth=16 "--output=%u.png" "%i"' @ error/delegate.c/InvokeDelegate/1065.
convert: unable to open image `/var/tmp/magick-46141j8xM1nXIStdI.ppm': No such file or directory @ error/blob.c/OpenBlob/2643.
convert: no images defined `000000.png' @ error/convert.c/ConvertImageCommand/3145.
pumplerod
Posts: 6
Joined: 2013-12-06T15:24:24-07:00
Authentication code: 6789

Re: can't convert: cr2 , crw, and dng

Post by pumplerod »

It seems that when I installed ImageMagick using homebrew it did not build ufraw for some reason.

To fix this...
Then the default delegates.xml file worked just fine.

Code: Select all

% brew install ufraw
Post Reply