createImageBitmapAsync

external fun createImageBitmapAsync(image: ImageBitmapSource, options: ImageBitmapOptions? = definedExternally): Promise<ImageBitmap>(source)
external fun createImageBitmapAsync(image: ImageBitmapSource, sx: Int, sy: Int, sw: Int, sh: Int, options: ImageBitmapOptions? = definedExternally): Promise<ImageBitmap>(source)