gimp-image-set-component-active

Spencer Kimball & Peter Mattis

Description

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

Help

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

Return

None