Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] createImageBitmap and Image #19533

Open
josephrocca opened this issue Jun 16, 2023 · 3 comments
Open

[feature request] createImageBitmap and Image #19533

josephrocca opened this issue Jun 16, 2023 · 3 comments

Comments

@josephrocca
Copy link
Contributor

josephrocca commented Jun 16, 2023

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 for createImageBitmap and Image.

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

@backspaces
Copy link

Try: https://deno.land/x/skia_canvas/mod.ts
I've used it to run browser scripts that need Image & Canvas.

@nhrones
Copy link

nhrones commented Oct 28, 2023

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.

@josephrocca
Copy link
Contributor Author

Looks like Deno has createImageBitmap now:

But it's currently not working. I can confirm replication of this bug:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants