gimp_image_get_cmap << INDEX >> gimp_image_get_component_visible

gimp_image_get_component_active (1995-1996)

NAME
gimp_image_get_component_active - Returns if the specified image's image component is active.
SYNOPSIS
active = gimp_image_get_component_active (image,component)
DESCRIPTION
This procedure returns if the specified image's image component (i.e. Red, Green, Blue intensity channels in an RGB image) is active or inactive -- whether or not it can be modified. If the specified component is not valid for the image type, an error is returned.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
IMAGEimageThe image
INT32componentThe image component: { RED_CHANNEL (0), GREEN_CHANNEL (1), BLUE_CHANNEL (2), GRAY_CHANNEL (3), INDEXED_CHANNEL (4) }
RETURN VALUES
TYPENAMEDESCRIPTION
INT32activeComponent is active (TRUE or FALSE)
SOME SYNTAX ALTERNATIVES
active = $image->get_component_active (component)
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>