fuji raf format issue

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
adrianboston
Posts: 4
Joined: 2016-08-06T20:06:38-07:00
Authentication code: 1151

fuji raf format issue

Post 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?)
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: fuji raf format issue

Post 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.
snibgo's IM pages: im.snibgo.com
adrianboston
Posts: 4
Joined: 2016-08-06T20:06:38-07:00
Authentication code: 1151

Re: fuji raf format issue

Post by adrianboston »

yes. have that

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

thnx though.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: fuji raf format issue

Post 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.
snibgo's IM pages: im.snibgo.com
adrianboston
Posts: 4
Joined: 2016-08-06T20:06:38-07:00
Authentication code: 1151

Re: fuji raf format issue

Post 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)
adrianboston
Posts: 4
Joined: 2016-08-06T20:06:38-07:00
Authentication code: 1151

Re: fuji raf format issue

Post 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
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: fuji raf format issue

Post 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.
snibgo's IM pages: im.snibgo.com
Post Reply