gimp-image-get-layers

Spencer Kimball & Peter Mattis

Description

Returns the list of layers contained in the specified image.

Help

This procedure returns the list of layers contained in the specified image. The order of layers is from topmost to bottommost.


Type

unknown

Parameters

Type Name Description
PF_IMAGE image The image

Return

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