gimp-image-get-channels

Spencer Kimball & Peter Mattis

Description

Returns the list of channels contained in the specified image.

Help

This procedure returns the list of channels contained in the specified image. This does not include the selection mask, or layer masks. The order is from topmost to bottommost. Note that "channels" are custom channels and do not include the image's color components.


Type

unknown

Parameters

Type Name Description
PF_IMAGE image The image

Return

Type Name Description
PF_INT num-channels The number of channels contained in the image (num-channels >= 0)
unknown channel-ids The list of channels contained in the image. The returned value must be freed with g_free()