1995-1996
Spencer Kimball & Peter Mattis
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-curves-spline' function to modify intensity levels with Catmull Rom splines.
unknown
Type | Name | Description |
---|---|---|
PF_DRAWABLE | drawable | The drawable |
PF_INT | channel | The channel to modify { HISTOGRAM-VALUE (0), HISTOGRAM-RED (1), HISTOGRAM-GREEN (2), HISTOGRAM-BLUE (3), HISTOGRAM-ALPHA (4), HISTOGRAM-RGB (5) } |
PF_INT | num-values | The number of values in the new curve (256 <= num-values <= 2096) |
unknown | values | The explicit curve |
None