gimp_layer_add_alpha << INDEX >> gimp_layer_create_mask

gimp_layer_copy (1995-1996)

NAME
gimp_layer_copy - Copy a layer.
SYNOPSIS
layer_copy = gimp_layer_copy (layer,add_alpha)
DESCRIPTION
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.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
LAYERlayerThe layer to copy
INT32add_alphaAdd an alpha channel to the copied layer
RETURN VALUES
TYPENAMEDESCRIPTION
LAYERlayer_copyThe newly copied layer
SOME SYNTAX ALTERNATIVES
layer_copy = $layer->copy (add_alpha)
AUTHOR
Spencer Kimball & Peter Mattis
(c)1995-1996 Spencer Kimball & Peter Mattis


This page was created by gimpdoc, written by Marc Lehmann <pcg@goof.com>