Constructor
GimpImagenew_with_precision
since: 2.10
Declaration [src]
GimpImage*
gimp_image_new_with_precision (
gint width,
gint height,
GimpImageBaseType type,
GimpPrecision precision
)
Description [src]
Creates a new image with the specified width, height, type and precision.
Creates a new image, undisplayed with the specified extents, type
and precision. Indexed images can only be created at
GIMP_PRECISION_U8_NON_LINEAR precision. See gimp_image_new() for
further details.
Available since: 2.10
Parameters
width-
Type:
gintThe width of the image.
height-
Type:
gintThe height of the image.
type-
Type:
GimpImageBaseTypeThe type of image.
precision-
Type:
GimpPrecisionThe precision.
Return value
Type: GimpImage
The newly created image.
| The data is owned by the called function. |