Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
jennytoy
Posts: 2 Joined: 2015-07-06T08:01:41-07:00
Authentication code: 1151
Post
by jennytoy » 2015-07-06T09:25:55-07:00
I installed ImageMagick6.9.1 in my fedora 18 together with ufraw-0.22
(from source)
everything installed ok.
But when I run
convert -verbose /home/jenny/IMG_5955.CR2 /home/jenny/IMG_5955.png
I get
Code: Select all
"ufraw-batch" --silent --create-id=also --out-type=png --out-depth=16 "--output=/tmp/magick-12526Vo30i1lVwHJm.png" "/tmp/magick-12526PuarTWMsIHtX"
"ufraw-batch" --silent --create-id=also --out-type=png --out-depth=16 "--output=/tmp/magick-12526MrA2ryQdoFgx.png" "/tmp/magick-12526I6V2pqOfMG36"
convert: delegate failed `"ufraw-batch" --silent --create-id=also --out-type=png --out-depth=16 "--output=%u.png" "%i"' @ error/delegate.c/InvokeDelegate/1332.
convert: unable to open image `/tmp/magick-12526Vo30i1lVwHJm.ppm': No such file or directory @ error/blob.c/OpenBlob/2697.
convert: no images defined `/home/jenny/IMG_5955.jpg' @ error/convert.c/ConvertImageCommand/3212.
I am at a loss.
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2015-07-06T10:01:34-07:00
I suppose IMG_5955.CR2 is a raw camera file, convertible to PNG or whatever by ufraw-batch. Its internal metadata gives width, height etc, so they don't need to be specified in the command.
"delegate failed", so is ufraw-batch installed? Try running it from the command line.
jennytoy
Posts: 2 Joined: 2015-07-06T08:01:41-07:00
Authentication code: 1151
Post
by jennytoy » 2015-07-06T10:05:42-07:00
Yes you are correct that ImageMagick is calling ufraw-batch to do the conversion.
And yes ufraw-batch is installed and works.
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2015-07-06T10:28:10-07:00
Then I suppose this command works?
Code: Select all
"ufraw-batch" --silent --create-id=also --out-type=png --out-depth=16 "--output=/home/jenny/IMG_5955.png" "/home/jenny/IMG_5955.CR2"
If so, it may be a permissions problem, but I'm only guessing. Do you have read/write access to /tmp? Is it full?
Bonzo
Posts: 2971 Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England
Post
by Bonzo » 2015-07-06T10:32:21-07:00
Your command works for me on Windows command line but it is calling dcraw. Does the Windows Imagemagick use dcraw rather than ufraw?
No need to add any dimensions etc. and this was with version 6.9.0
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2015-07-06T11:21:47-07:00
Bonzo wrote: Does the Windows Imagemagick use dcraw rather than ufraw?
Correct.