Page 1 of 1

Convert NEF D80 issue

Posted: 2015-07-06T12:31:49-07:00
by bmayer
I am getting an error when I try to convert NEF to jpg. Camera was a Nikon D80.

Command:

Code: Select all

/opt/local/bin/convert DSC_9087.NEF DSC_9087.jpg
convert: delegate failed `"ufraw-batch" --silent --create-id=also --out-type=png --out-depth=16 "--output=%u.png" "%i"' @ error/delegate.c/InvokeDelegate/1310.
convert: unable to open image `/var/tmp/magick-49712wdmi9chWONiz.ppm': No such file or directory @ error/blob.c/OpenBlob/2709.
convert: no images defined `DSC_9087.jpg' @ error/convert.c/ConvertImageCommand/3210.
I have tried ImageMagick 6.9.0-0 installed with ports and 6.9.1-6 Q16 installed with HomeBrew on a less than 1 week old MacBook Pro running 10.10.4. Both have the same result.

Are there any suggestions?

Thank you,

Ben

Re: Convert NEF D80 issue

Posted: 2015-07-06T12:38:01-07:00
by Bonzo
This problem has come up a few times before. I do not think you can search for NEF as the word id to short so try Nikon. Here is a link to one result: viewtopic.php?f=1&t=8698&p=26789&hilit=nikon#p26789

I assume you have tried converting other files with Imagemagick to confirm it is installed and working?

Re: Convert NEF D80 issue

Posted: 2015-07-06T15:20:13-07:00
by bmayer
It will convert jpg to png.

The linked post suggested to reinstall libraries. I downloaded binaries, and copied to the various /lib paths and am getting the same error.

Re: Convert NEF D80 issue

Posted: 2015-07-06T15:46:05-07:00
by magick
ImageMagick uses the ufraw-batch delegate program to read image files in the NEF format. You will need the ufraw-batch utility in your execution path. If you type 'which ufraw-batch' and it returns 'Command not found', ImageMagick will be unable to read the NEF format.

Re: Convert NEF D80 issue

Posted: 2015-07-06T18:11:02-07:00
by bmayer
Needed to install 'ufraw' with brew, but same result. Other debugging options?

Code: Select all

Benjamins-MBP:100NCD80 bmayer$ which ufraw-batch
/usr/local/bin/ufraw-batch
Benjamins-MBP:100NCD80 bmayer$ convert DSC_9087.NEF DSC_9087.jpg
convert: UnableToOpenBlob `/var/tmp/magick-54097mk5mdxQgKVhV.ppm': No such file or directory @ error/blob.c/OpenBlob/2695.
convert: NoImagesDefined `DSC_9087.jpg' @ error/convert.c/ConvertImageCommand/3212.

Re: Convert NEF D80 issue

Posted: 2015-07-06T18:34:20-07:00
by fmw42
After installing ufraw, did you reinstall IM?

Re: Convert NEF D80 issue

Posted: 2015-07-07T02:22:49-07:00
by snibgo
I don't know the answer, though I see the error message in the first post was "delegate failed", and in the last post was "UnableToOpenBlob". You might try "-verbose" as the first option for possible insight. Then try "-debug all".