gimp_crop << INDEX >> gimp_curves_spline

gimp_curves_explicit (1995-1996)

NAME
gimp_curves_explicit - Modifies the intensity curve(s) for specified drawable.
SYNOPSIS
gimp_curves_explicit (drawable,channel,num_bytes,curve)
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 'curve' parameter is an array of bytes 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.
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_bytesThe number of bytes in the new curve (always 256)
INT8ARRAYcurveThe explicit curve
SOME SYNTAX ALTERNATIVES
$drawable->curves_explicit (channel,curve)
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>