[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.10" ) ]
public Image.with_precision (int width, int height, ImageBaseType type, Precision precision)
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 [ enum@Gimp.Precision.U8_NON_LINEAR] precision. See [ctor@Gimp.Image.new] for further details.
| width |
The width of the image. |
| height |
The height of the image. |
| type |
The type of image. |
| precision |
The precision. |
|
The newly created image. |