gimp_image_merge_down << INDEX >> gimp_image_new

gimp_image_merge_visible_layers (1995-1996)

NAME
gimp_image_merge_visible_layers - Merge the visible image layers into one.
SYNOPSIS
layer = gimp_image_merge_visible_layers (image,merge_type)
DESCRIPTION
This procedure combines the visible layers into a single layer using the specified merge type. A merge type of EXPAND_AS_NECESSARY expands the final layer to encompass the areas of the visible layers. A merge type of CLIP_TO_IMAGE clips the final layer to the extents of the image. A merge type of CLIP_TO_BOTTOM_LAYER clips the final layer to the size of the bottommost layer.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
IMAGEimageThe image
INT32merge_typeThe type of merge: { EXPAND_AS_NECESSARY (0), CLIP_TO_IMAGE (1), CLIP_TO_BOTTOM_LAYER (2) }
RETURN VALUES
TYPENAMEDESCRIPTION
LAYERlayerThe resulting layer
SOME SYNTAX ALTERNATIVES
layer = $image->merge_visible_layers (merge_type)
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>