Gimp.Drawable.curves_explicit

@accepts(Gimp.Drawable, Gimp.HistogramChannel, gsize, [float])
@returns(bool)
def curves_explicit(self, channel, num_values, values):
    # Python wrapper for gimp_drawable_curves_explicit()
  

Modifies the intensity curve(s) for specified drawable.

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 Gimp.Drawable.curves_spline function to modify intensity levels with Catmull Rom splines.

Since 2.10

self

The drawable.

channel

The channel to modify.

num_values

The number of values in the new curve.

values

The explicit curve.

Returns