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.
INPUT ARGUMENTS
TYPE
NAME
DESCRIPTION
IMAGE
image
The image
RETURN VALUES
TYPE
NAME
DESCRIPTION
INT32
num_channels
The number of channels contained in the image
INT32ARRAY
channel_ids
The list of channels contained in the image
SOME SYNTAX ALTERNATIVES
channel_ids = $image->get_channels
AUTHOR
Spencer Kimball & Peter Mattis (c)1995-1996 Spencer Kimball & Peter Mattis