Open josephrocca opened 1 year ago
Try: https://deno.land/x/skia_canvas/mod.ts I've used it to run browser scripts that need Image & Canvas.
The skia_canvas linked above, works very well. I've written desktop GUI apps with it. The context2D is completely DOM canvas compatible, including path2D and imageData.
Looks like Deno has createImageBitmap
now:
But it's currently not working. I can confirm replication of this bug:
I didn't realise that Deno still 1 doesn't have
OffscreenCanvas
, so I was setting up a system that would rely on it, and of course eventually came across a need forcreateImageBitmap
andImage
.Here's the issue for OffscreenCanvas, which blocks this one:
Please feel free to close this if the above issue is a relevant-enough catch-all for this.
[1] Probably waiting for this: https://bugs.chromium.org/p/skia/issues/detail?id=12512