Skip to content

Using canvas' toDataURL function to produce an image from the canvas QRCode #24

Open
wants to merge 1 commit into from

2 participants

@bradbeattie

No description provided.

@jeromeetienne
Owner

What is the advantage of that over canvas?

@bradbeattie

In demo.html, you remarked "even allow download of the image". This allows you to do just that. Because it's now technically an image, "right-click, save-as" works just fine.

@jeromeetienne
Owner

so the goal of this is to allow an easier 'save as' ?

@bradbeattie

Yep. Can't "save as" a table or a canvas, but you certain can with an image.

@jeromeetienne
Owner

Ok seems good :)

can you update the readme to explain this options?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.