GIMP Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
gimpchannel
Synopsis
|
Details
gimp_channel_new ()
|
Create a new channel.
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.
gimp_channel_copy ()
|
Copy a channel.
This procedure copies the specified channel and returns the copy.
gimp_channel_delete ()
|
Delete a channel.
This procedure deletes the specified channel. This must not be done if the gimage containing this channel was already deleted or if the channel was already removed from the image. The only case in which this procedure is useful is if you want to get rid of a channel which has not yet been added to an image.
gimp_channel_get_name ()
|
Get the name of the specified channel.
This procedure returns the specified channel's name.
gimp_channel_set_name ()
|
Set the name of the specified channel.
This procedure sets the specified channel's name.
gimp_channel_get_visible ()
|
Get the visibility of the specified channel.
This procedure returns the specified channel's visibility.
gimp_channel_set_visible ()
|
Set the visibility of the specified channel.
This procedure sets the specified channel's visibility.
gimp_channel_get_show_masked ()
|
Get the composite method of the specified channel.
This procedure returns the specified channel's composite method. If it is non-zero, then the channel is composited with the image so that masked regions are shown. Otherwise, selected regions are shown.
gimp_channel_set_show_masked ()
|
Set the composite method of the specified channel.
This procedure sets the specified channel's composite method. If it is non-zero, then the channel is composited with the image so that masked regions are shown. Otherwise, selected regions are shown.
gimp_channel_get_opacity ()
|
Get the opacity of the specified channel.
This procedure returns the specified channel's opacity.
gimp_channel_set_opacity ()
|
Set the opacity of the specified channel.
This procedure sets the specified channel's opacity.
gimp_channel_get_color ()
|
Get the compositing color of the specified channel.
This procedure returns the specified channel's compositing color.
gimp_channel_set_color ()
|
Set the compositing color of the specified channel.
This procedure sets the specified channel's compositing color.
gimp_channel_get_tattoo ()
|
Get the tattoo of the specified channel.
This procedure returns the specified channel's tattoo. A tattoo is a unique and permanent identifier attached to a channel that can be used to uniquely identify a channel within an image even between sessions.
gimp_channel_set_tattoo ()
|
Set the tattoo of the specified channel.
This procedure sets the specified channel's tattoo. A tattoo is a unique and permanent identifier attached to a channel that can be used to uniquely identify a channel within an image even between sessions.