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

Get image data and/or put extra text with the image in the downlaod #57

Open
JanMisker opened this issue Jun 10, 2024 · 0 comments
Open

Comments

@JanMisker
Copy link

I would like to offer the QR code for download but with some more context, e.g. instructions on where to scan it and for what purpose.

For this reason it would be useful if we can get a reference to the toDataURL() and toBlob() functions of the canvas. Then we can for example put it in a (client side) pdf or put it in another canvas that is then downloaded.

Another possibility could be to have to option to add text above and/or below the image in the download() call.

I'm more than willing to work on this feature myself, if more people want to use and test it.

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

1 participant