Creates a bitmap from a given source, optionally cropped to contain only a portion of that source. This function accepts a variety of different image sources, and returns a Promise which resolves to an ImageBitmap.
Promise
Optional
https://developer.mozilla.org/docs/Web/API/createImageBitmap
Generated using TypeDoc
Creates a bitmap from a given source, optionally cropped to contain only a portion of that source. This function accepts a variety of different image sources, and returns a
Promise
which resolves to an ImageBitmap.