Steps to reproduce:
Open a RAW file with UFRaw 0.19.2.
Deactivate Lensfun lens distortion correction using Lens correction/Lens distortion/Model: None.
Save a .ufraw file using Save/Create ID File/Only then Save.
Section of the file reads:
<Distortion Index='None'>
<Model Label='PanoTools lens model'>
<a>0.010714</a>
<b>-0.021681</b>
<c>0.004485</c>
</Model>
</Distortion>
so distortion correction should be deactivated.
Result: Model is on "PanoTools Lens Model" again, correction (re)enabled for ufraw and ufraw-batch.
Discussion: This is an undesired behaviour since it adds some softness and potential black borders around the image.
Addendum:
Precisely put, UFRaw only automatically (and errationally) looks up lens correction data,
An exemplary .ufraw recipe section looks like this:
, so you would expect "Lens correction/Lens distortion/Model" being "None" after reopening. In fact, it is "PanoTools lens model".
Here comes the fun part: If you manually remove the
entry from the .ufraw file, UFRaw opens it correctly with "Lens correction/Lens distortion/Model"="None"! In that case, it doesn't matter if
or
is present in either .ufraw or .ufrawrc. Long story short:
somehow takes priority over
which it shouldn't. On a sidenote: ufraw-batch behaves the same.
I had the same problem with UFRaw 0.20 on Fedora 20. I was trying to disable Chromatic Aberration correction (TCA) while keeping the distortion correction to be able to batch-process several images. I was able to get it to work by keeping the following in the .ufraw file:
On a side note, I was only disabling CA correction because it was causing red and blue spots to show up in the photos. Never seen that behavior before.
Last edit: Jonathan Berry 2014-12-15