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

Unable to create qrcode without canvas #372

Open
Jyo-Badri opened this issue Aug 20, 2024 · 1 comment
Open

Unable to create qrcode without canvas #372

Jyo-Badri opened this issue Aug 20, 2024 · 1 comment

Comments

@Jyo-Badri
Copy link

I am in a scenario where I want to create n number of QRcode. While creating I don't want to freeze other things happening. So, I have created a web-worker. Now I am unable to use toDataUrl() as it requires canvas and in web-workers we don't have access over "DOM". I am trying to use in angular. Also, I want this as 'PNG' only.

@GreenFlag31
Copy link

Canvas does not support web worker.

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

2 participants