I have a similar problem under Windows 10, 64 bit:
I would like to develop a Sony RAW photo (*.arw) with my own settings and apply a lens correction to it. Following the hint given in this thread I arrived at:
Code: Select all
<delegate decode="LUMINANCE" stealth="True" command="dcraw.exe -q 3 -o 0 -4 -r 1 1 1 1 -S 65535 -T -O "%o" "%i""/>
which correctly performs the conversion based on dcraw and the parameters supplied.
But in order to apply the correction for barrel distortion, I need to generate a temporary file in order to to process it further. Therefore I tried using %u.tif
Code: Select all
<delegate decode="LUMINANCE" stealth="True" command="dcraw.exe -q 3 -o 0 -4 -r 1 1 1 1 -S 65535 -T -O "%u.tif" "%i""/>
following the "fake" code entry for DNG. Thise results in the message:
Code: Select all
magick: unable to open image 'C:/Users/Hugemann/AppData/Local/Temp/magick-14944A1WfII0P63C7': No such file or directory @ error/blob.c/OpenBlob/3491.
magick: unable to open module file 'C:\Program Files\ImageMagick7\modules\coders\IM_MOD_RL_LUMINANCE_.dll': No such file or directory @ warning/module.c/GetMagickModulePath/675.
magick: unable to open file 'C:/Users/Hugemann/AppData/Local/Temp/magick-14944A1WfII0P63C7': No such file or directory @ error/constitute.c/ReadImage/596.
which is formally correct, as the conversion first creates four temporary files
Code: Select all
magick-14944A1Wfll0P63C7 0 KB
magick-14944Aqa2f1WU-190 20.388 KB
magick-14944CyfoUhctpi9O 0 KB
magick-14944zwjvGbkYIUli 0 KB
and stores the result in magick-14944CyfoUhctpi9O.tif.
What goes wrong here?
BTW: I took me quite a while to find out that the delegates-entry for dng:decode is simply ignored. This is very misleading. It should be deleted in future releases.