MRW ufraw problem with fd:n syntax

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
tlhackque@yahoo.com

MRW ufraw problem with fd:n syntax

Post by tlhackque@yahoo.com »

Attempting to pass fd's in and out of a conversion from MRW to jpg.

Does not work with fds. Works with filenames. Here is a stripped-down test case (obviously, in real life the source isn't cat and output isn't with >)

Syntax works ok with JPG -> JPG:
[ImageMagick-6.5.3-7]# cat P1000446.JPG | convert -resize '50x50>' jpg:- jpg:- >x.jpg

Convert works with real MRW files:
[ImageMagick-6.5.3-7]# convert -resize '50x50>' MRW:PICT0011\ Columbine.MRW jpg:x.jpg
[ImageMagick-6.5.3-7]#


Same command, use an MRW with fds:
[ImageMagick-6.5.3-7]# cat PICT0011\ Columbine.MRW | convert -resize '50x50>' MRW:- jpg:- >x.jpg
convert: Delegate failed `"/usr/bin/ufraw-batch" --silent --wb=camera --black-point=auto --exposure=auto --create-id=also --out-type=ppm --out-depth=16 "--output=%u.ppm" "%i"' @ delegate.c/InvokeDelegate/1032.
convert: unable to open image `/tmp/magick-XXJNS7rH.ppm': No such file or directory @ blob.c/OpenBlob/2489.
convert: missing an image filename `jpg:-' @ convert.c/ConvertImageCommand/2772.

[ImageMagick-6.5.3-7]# ufraw-batch --version
ufraw-batch 0.15
EXIV2 disabled.
JPEG enabled.
TIFF enabled.
FITS disabled.
ZIP enabled.

[ImageMagick-6.5.3-7]# identify --version
Version: ImageMagick 6.5.3-7 2009-06-16 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC

Fresh build on Fedora 6

Appreciate any assistance.

---------------------------------------------------------
This communication may not represent my employer's views,
if any, on the matters discussed.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: MRW ufraw problem with fd:n syntax

Post by magick »

We have a fix for the problem you posted. Look for it in ImageMagick 6.5.3-9 Beta available by sometime tomorrow.
tlhackque@yahoo.com

Re: MRW ufraw problem with fd:n syntax

Post by tlhackque@yahoo.com »

Thanks for the quick fix. Confirming it works for me.

Sorry for the slow reply - was looking for the update in the wrong place :-(
Post Reply