gimp-file-load-layers

Michael Natterer <mitch@gimp.org>

Description

Loads an image file as layers for an existing image.

Help

This procedure behaves like the file-load procedure but opens the specified image as layers for an existing image. The returned layers needs to be added to the existing image with 'gimp-image-insert-layer'.


Type

unknown

Parameters

Type Name Description
PF_INT run-mode The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }
PF_IMAGE image Destination image
PF_VALUE filename The name of the file to load

Return

Type Name Description
PF_INT num-layers The number of loaded layers (num-layers >= 0)
unknown layer-ids The list of loaded layers