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
TYPE
NAME
DESCRIPTION
INT32
width
The width of the image
INT32
height
The height of the image
INT32
type
The type of image: { RGB (0), GRAY (1), INDEXED (2) }