convertToBlob
The OffscreenCanvas.convertToBlob() method creates a Blob object representing the image contained in the canvas.
The OffscreenCanvas.convertToBlob() method creates a Blob object representing the image contained in the canvas.