Page 1 of 1

fuji raf format issue

Posted: 2016-08-06T23:48:09-07:00
by adrianboston
Imagemagick throws up a issue while converting RAF (Fuji raw format) files

convert Birthday\ -\ 128.RAF Birthday\ -\ 128_pt.ppm
convert: FailedToExecuteCommand `'ufraw-batch' --silent --create-id=also --out-type=png --out-depth=16 '--output=/var/tmp/magick-14039ack8e3NtdUZO.png' '/var/tmp/magick-14039pnlkVgI8lVJZ'' (-1) @ error/delegate.c/ExternalDelegateCommand/462.
convert: delegate failed `'ufraw-batch' --silent --create-id=also --out-type=png --out-depth=16 '--output=%u.png' '%i'' @ error/delegate.c/InvokeDelegate/1919.
convert: unable to open image `/var/tmp/magick-14039ack8e3NtdUZO.ppm': No such file or directory @ error/blob.c/OpenBlob/2705.
convert: no images defined `Birthday - 128_pt.ppm' @ error/convert.c/ConvertImageCommand/3257.

$ mogrify --version
Version: ImageMagick 6.9.5-0 Q16 x86_64 2016-08-01 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC Modules
Delegates (built-in): bzlib djvu fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms ltdl lzma openexr png ps tiff webp x xml zlib


$ identify -list format

RAF DNG r-- Fuji CCD-RAW Graphic File

$ ls -lsa /opt/local/lib/ImageMagick-6.9.5/modules-Q16/coders/

...
raw.la
raw.so
...

but no raf.la, raf.so (unsure if that is needed?)

Re: fuji raf format issue

Posted: 2016-08-07T01:20:05-07:00
by snibgo
adrianboston wrote:FailedToExecuteCommand `'ufraw-batch' ...
IM delegates the task of reading your file to a program called ufraw-batch. Do you have that program? If not, then that's the problem.

Re: fuji raf format issue

Posted: 2016-08-07T14:00:20-07:00
by adrianboston
yes. have that

2296 -rwxr-xr-x 1 root admin 1171488 Aug 4 00:12 /opt/local/bin/ufraw-batch

thnx though.

Re: fuji raf format issue

Posted: 2016-08-07T14:57:40-07:00
by snibgo
You are running IM from the command line, I suppose?

I suggest you try running ufraw-batch also from the command line, with the same RAF file as input. If that doesn't work, then that's the problem. If it does work, I have no other ideas. Sorry.

Re: fuji raf format issue

Posted: 2016-08-07T19:10:40-07:00
by adrianboston
ufraw doesn't function as expected.

sudo ufraw-batch --create-id=also --out-type=png --out-depth=16 --output=magick-14039ack8e3NtdUZO.png Pictureinquestion.RAF

no error but also no magick-14039ack8e3NtdUZO.png file?

( i tried a variety of output types)

Re: fuji raf format issue

Posted: 2016-08-07T19:12:46-07:00
by adrianboston
unless of course theres a hidden default output directory !? doesnt seem to be... tried a variety of ufraw-batch commands and none produce any output

Re: fuji raf format issue

Posted: 2016-08-08T08:10:23-07:00
by snibgo
I don't use ufraw-batch so can't make any suggestion, other than re-installing it, and following whatever instructions you might find on the net. Sorry.