It would be nice if I can feed an image blob to it, and return the edited image as a blob programmatically - i.e. without the need for an UI to open or download the image. That will help integration/embed it into other apps.
The constructor requires
- a canvas (which can be an OffscreenCanvas)
- an arrayBuffer with the image (which you easily get from a blob with "await blob.arrayBuffer();" )
The constructor requires - a canvas (which can be an OffscreenCanvas) - an arrayBuffer with the image (which you easily get from a blob with "await blob.arrayBuffer();" )