curves_explicit


Description:

[ Version ( deprecated = true , deprecated_since = "3.2" , since = "2.10" ) ]
public bool curves_explicit (HistogramChannel channel, double[] values)

Warning: curves_explicit is deprecated since 3.2.

Modifies the intensity curve(s) for specified drawable.

Note:

Use filter "gimp:curves" instead.

Modifies the intensity mapping for one channel in the specified drawable. The channel can be either an intensity component, or the value. The 'values' parameter is an array of doubles which explicitly defines how each pixel value in the drawable will be modified. Use the curves_spline function to modify intensity levels with Catmull Rom splines.

Parameters:

this

The drawable.

channel

The channel to modify.

values

The explicit curve.

num_values

The number of values in the new curve.

Returns:

TRUE on success.