Code: Select all
" <delegate decode=\"dng:decode\" command=\""/usr/bin/ufraw-batch" --silent --wb=camera --black-point=auto --exposure=auto --create-id=also --out-type=ppm16 "--output=%u.pnm" "%i"\"/>"
Code: Select all
" <delegate decode=\"dng:decode\" command=\""ufraw-batch" --silent --wb=camera --black-point=auto --exposure=auto --create-id=also --out-type=ppm --out-depth=16 "--output=%u.ppm" "%i"\"/>"
I also tried changing it to output PNG, based on the code I had read in coders/dng.c (it seems to try to read a .ppm file and then falls back to a png if it couldn't find one):
Code: Select all
" <delegate decode=\"dng:decode\" command=\""ufraw-batch" --silent --wb=camera --black-point=auto --exposure=auto --create-id=also --out-type=png --out-depth=16 "--output=%u.png" "%i"\"/>"