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

Request support for Worker thread #174

Open
ngdangtu-vn opened this issue May 20, 2023 · 1 comment
Open

Request support for Worker thread #174

ngdangtu-vn opened this issue May 20, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ngdangtu-vn
Copy link

Due to using Canvas, we cannot render image in worker. I suggest to allow dev to pass their canvas object.

With this feature, dev can easily pass OffscreenCanvas to worker thread.

Reference:
https://stackoverflow.com/questions/35026647/is-it-possible-to-generate-an-image-blob-or-data-url-in-a-web-worker-from-a-ca

@spacehaz
Copy link

Hi, you can use my fork if needed. Unfortunately it works only with png files right now (type: cenvas). OffscreenCanvas is used

https://github.com/LinkdropHQ/qr-code-styling-bigmac

@kozakdenys kozakdenys added the enhancement New feature or request label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants