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.
MRW ufraw problem with fd:n syntax
Re: MRW ufraw problem with fd:n syntax
We have a fix for the problem you posted. Look for it in ImageMagick 6.5.3-9 Beta available by sometime tomorrow.
Re: MRW ufraw problem with fd:n syntax
Thanks for the quick fix. Confirming it works for me.
Sorry for the slow reply - was looking for the update in the wrong place
Sorry for the slow reply - was looking for the update in the wrong place