gimp-layer-copy

Spencer Kimball & Peter Mattis

Description

Copy a layer.

Help

This procedure copies the specified layer and returns the copy. The newly copied layer is for use within the original layer's image. It should not be subsequently added to any other image. The copied layer can optionally have an added alpha channel. This is useful if the background layer in an image is being copied and added to the same image.


Type

unknown

Parameters

Type Name Description
PF_LAYER layer The layer to copy
PF_INT add-alpha Add an alpha channel to the copied layer (TRUE or FALSE)

Return

Type Name Description
PF_LAYER layer-copy The newly copied layer