gimp_channel_get_visible << INDEX >> gimp_channel_ops_duplicate

gimp_channel_new (1995-1996)

NAME
gimp_channel_new - Create a new channel.
SYNOPSIS
channel = gimp_channel_new (image,width,height,name,opacity,color)
DESCRIPTION
This procedure creates a new channel with the specified width and height. Name, opacity, and color are also supplied parameters. The new channel still needs to be added to the image, as this is not automatic. Add the new channel with the 'gimp_image_add_channel' command. Other attributes such as channel show masked, should be set with explicit procedure calls. The channel's contents are undefined initially.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
IMAGEimageThe image to which to add the channel
INT32widthThe channel width: (0 < width)
INT32heightThe channel height: (0 < height)
STRINGnameThe channel name
FLOATopacityThe channel opacity: (0 <= opacity <= 100)
COLOURcolorThe channel compositing color
RETURN VALUES
TYPENAMEDESCRIPTION
CHANNELchannelThe newly created channel
SOME SYNTAX ALTERNATIVES
channel = $image->channel_new (width,height,name,opacity,color)
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>