width of a newly created image.
height of a newly created image.
format of a newly created image.
bit depth of a newly created image.
potential data of an image, pre-allocated. If not a null, data array has to be of correct size = width*height*channels*depth, where channels are defined by the format, and depth is counded in bytes.
Construct an image by given size, format and bit depth information.