I think our misunderstanding arises from the point that your suggested delegate-command
Code: Select all
<delegate decode="LUM2" stealth="True" command="cmd.exe /c (F:/pictures/dcrawag.exe -q 3 -o 0 -4 -r 1 1 1 1 -S 65535 -T -O "%u" "%i") & (magick TIFF:%u -colorspace Gray -resize 600x600 %o)"/>
performs the entire job on its own. I now tried
Code: Select all
<delegate decode="LUM2" stealth="True" command="dcraw.exe -q 3 -r 1 1 1 1 -T -O "%o" "%i""/>
and found that working as you said. I see: Most entries in
delegates.xml use %o as the pivot (i.e. intermediate format), whereas the (superfluous) dng-delegate-entry is
Code: Select all
<delegate decode="dng:decode" stealth="True" command="dcraw.exe -6 -W -O "%u.ppm" "%i""/>
using %u.ppm as the pivot.
As I understand %o, it would mean that if you convert to a lossy format such as JPEG in the end, the intermediate file would also be JPEG, i.e. causing two lossy compressions (?).
Does
have any special meaning in comparison to just
?