gimp-image-get-component-visible

Spencer Kimball & Peter Mattis

Description

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

Help

This procedure returns if the specified image's image component (i.e. Red, Green, Blue intensity channels in an RGB image) is visible or invisible -- whether or not it can be seen. 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 visible Component is visible (TRUE or FALSE)