# Image OffscreenCanvas.createImage()

Start from base library version 2.7.3. Please remaining backward compatible.

with Promise style call: Not supported

Mini Program plugin: Support, need to Mini Program base library version no less than 2.16.1

Create a picture object. Support in 2D Canvas and WebGL Canvas Under use, But does not support mixing 2D and WebGL The method.

# Return value

# Image

Be careful not to mix webgl and 2d Canvas to create a picture object, please note that when using the canvas Self createImage Create a picture object.