gimp_curves_explicit << INDEX >> gimp_desaturate

gimp_curves_spline (1995-1996)

NAME
gimp_curves_spline - Modifies the intensity curve(s) for specified drawable.
SYNOPSIS
gimp_curves_spline (drawable,channel,num_points,control_pts)
DESCRIPTION
Modifies the intensity mapping for one channel in the specified drawable. The drawable must be either grayscale or RGB, and the channel can be either an intensity component, or the value. The 'control_pts' parameter is an array of integers which define a set of control points which describe a Catmull Rom spline which yields the final intensity curve. Use the 'gimp_curves_explicit' function to explicitly modify intensity levels.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
DRAWABLEdrawableThe drawable
INT32channelThe channel to modify: { VALUE_LUT (0), RED_LUT (1), GREEN_LUT (2), BLUE_LUT (3), ALPHA_LUT (4) }
INT32num_pointsThe number of values in the control point array (3 < num_points <= 32)
INT8ARRAYcontrol_ptsThe spline control points: { cp1.x, cp1.y, cp2.x, cp2.y, ... }
SOME SYNTAX ALTERNATIVES
$drawable->curves_spline (channel,control_pts)
AUTHOR
Spencer Kimball & Peter Mattis
(c)1995-1996 Spencer Kimball & Peter Mattis


This page was created by gimpdoc, written by Marc Lehmann <pcg@goof.com>