gimp-image-get-component-active

Spencer Kimball & Peter Mattis

Description

Returns if the specified image's image component is active.

Help

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.


Type

unknown

Parameters

Type Name Description
PF_IMAGE image The image
PF_INT component The image component { RED-CHANNEL (0), GREEN-CHANNEL (1), BLUE-CHANNEL (2), GRAY-CHANNEL (3), INDEXED-CHANNEL (4), ALPHA-CHANNEL (5) }

Return

Type Name Description
PF_INT active Component is active (TRUE or FALSE)