gimp_image_merge_visible_layers << INDEX >> gimp_image_parasite_attach

gimp_image_new (1995-1996)

NAME
gimp_image_new - Creates a new image with the specified width, height, and type.
SYNOPSIS
image = gimp_image_new (width,height,type)
DESCRIPTION
Creates a new image, undisplayed with the specified extents and type. A layer should be created and added before this image is displayed, or subsequent calls to 'gimp_display_new' with this image as an argument will fail. Layers can be created using the 'gimp_layer_new' commands. They can be added to an image using the 'gimp_image_add_layer' command.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
INT32widthThe width of the image
INT32heightThe height of the image
INT32typeThe type of image: { RGB (0), GRAY (1), INDEXED (2) }
RETURN VALUES
TYPENAMEDESCRIPTION
IMAGEimageThe ID of the newly created image
SOME SYNTAX ALTERNATIVES
image = new Image (width,height,type)
image = Gimp->image_new (width,height,type)
image = image_new Display (width,height,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>