What run() resolves with: imageData (default), a canvas (OffscreenCanvas where available), an encoded blob, or a single-channel gray image.
run()
imageData
canvas
OffscreenCanvas
blob
gray
What
run()resolves with:imageData(default), acanvas(OffscreenCanvaswhere available), an encodedblob, or a single-channelgrayimage.