app: remove clamping from GimpOperationLevels, it was at a fishy place anyway
This commit is contained in:
@ -93,13 +93,8 @@ gimp_operation_levels_map (gdouble value,
|
|||||||
else
|
else
|
||||||
value = (value - low_input);
|
value = (value - low_input);
|
||||||
|
|
||||||
/* clamp to new black and white points */
|
|
||||||
value = CLAMP (value, 0.0, 1.0);
|
|
||||||
|
|
||||||
if (inv_gamma != 1.0)
|
if (inv_gamma != 1.0)
|
||||||
{
|
value = pow (value, inv_gamma);
|
||||||
value = pow ( value, inv_gamma);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* determine the output intensity */
|
/* determine the output intensity */
|
||||||
if (high_output >= low_output)
|
if (high_output >= low_output)
|
||||||
|
Reference in New Issue
Block a user