gimp-image-set-component-visible

Spencer Kimball & Peter Mattis

Description

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

Help

This procedure sets 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) }
PF_INT visible Component is visible (TRUE or FALSE)

Return

None