Page 2 of 2

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

Posted: 2012-09-12T12:52:12-07:00
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.

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

Posted: 2013-12-06T15:33:44-07:00
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.

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

Posted: 2013-12-06T16:30:48-07:00
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