-
Notifications
You must be signed in to change notification settings - Fork 210
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] Web Worker support #661
Comments
Hi there Sound like a very good idea. The operations on the canvas are quite heavy so it would indeed be nice to offload that to a worker. I have no idea if that's possible or whether there are limitations though. |
Just had a quick chat with ChatGPT and it seems like a worker cannot load the images itself, but by using |
I tried a bit but had problems with creating a webworker in the angular lib. Angular did not bundle the worker into dist and I had trouble doing it manually, so i gave up. Also tried using OffscreenCanvas, but that did not have any impact on cropping/rotating speed.. |
Ok too bad. I think the only thing to gain from using a web worker is not blocking the UI. |
Hello all (and @Mawi137)
just a quick question. Is it possible to add Web Worker support?
I could try it myself but before I start implementing anything, I thought I ask if it is even wanted/doable.
Do you see any problems with it? I think I would start by adding a opt-in option to use webworkers, sounds good?
The text was updated successfully, but these errors were encountered: