convertToBlobAsync
external fun convertToBlobAsync(options: ImageEncodeOptions = definedExternally): Promise<Blob>(source)
The OffscreenCanvas.convertToBlob() method creates a Blob object representing the image contained in the canvas.