function createImageBitmap
          
createImageBitmap(image: ImageBitmapSource,options?: ImageBitmapOptions,): Promise<ImageBitmap> 
      Create a new ImageBitmap object from a given source.
image: ImageBitmapSource
      
    The image to create an ImageBitmap from.
optional
options: ImageBitmapOptions
      
    The options for creating the ImageBitmap.
Promise<ImageBitmap>
      
    
createImageBitmap(): Promise<ImageBitmap> 
      Create a new ImageBitmap object from a given source, cropping
to the specified rectangle.
image: ImageBitmapSource
      
    The image to create an ImageBitmap from.
The x coordinate of the top-left corner of the sub-rectangle from
which the ImageBitmap will be cropped.
The y coordinate of the top-left corner of the sub-rectangle from
which the ImageBitmap will be cropped.
The width of the sub-rectangle from which the
ImageBitmap will be cropped.
The height of the sub-rectangle from which the
ImageBitmap will be cropped.
optional
options: ImageBitmapOptions
      
    The options for creating the ImageBitmap.
Promise<ImageBitmap>