With the camera profile I use (stolen from CaptureNX; see [1]), the optimal
linearity is somewhere between 0.00 and 0.01. At 0.01, a lot of the low blacks
end up getting crushed, and at 0.00, the shadows are too light.
The (tiny) attached patch increases the precision by a single order of
magnitude, but doesn't affect how any of the controls typically work. Scrolling
still changes the value by 0.01 and page-up/page-down by 0.05. However, if you
need to, you can now manually edit the box to use, for example, 0.004.
[1] http://blog.crushedredpepper.com/nikon/raw.html
--xsdg
Index: ufraw_preview.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw_preview.c,v
retrieving revision 1.257
diff -u -r1.257 ufraw_preview.c
--- ufraw_preview.c 7 Aug 2009 16:51:05 -0000 1.257
+++ ufraw_preview.c 8 Aug 2009 20:58:38 -0000
@@ -2784,7 +2784,7 @@
if (!CFG->LockAspect) refresh_aspect(data);
return;
}
- /* Do noting if value didn't really change */
+ /* Do nothing if value didn't really change */
long accuracy =
(long)g_object_get_data(G_OBJECT(adj), "Adjustment-Accuracy");
float change = fabs(*valuep-gtk_adjustment_get_value(adj));
@@ -4467,7 +4467,7 @@
data->LinearAdjustment = adjustment_scale(table, 1, 4, _("Linearity"),
CFG->profile[0][CFG->profileIndex[0]].linear,
- &CFG->profile[0][0].linear, 0.0, 1.0, 0.01, 0.05, 2,
+ &CFG->profile[0][0].linear, 0.0, 1.0, 0.01, 0.05, 3,
_("Linear part of the gamma correction"),
G_CALLBACK(adjustment_update),
&data->ResetLinearButton, _("Reset linearity to default"),
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
ufraw-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ufraw-devel