jeromeetienne / jquery-qrcode

qrcode generation standalone (doesn't depend on external services)
http://blog.jetienne.com/blog/2011/04/07/jquery-qrcode/
MIT License
4.85k stars 2.5k forks source link

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

Closed bradbeattie closed 2 years ago

jeromeetienne commented 12 years ago

What is the advantage of that over canvas?

bradbeattie commented 12 years ago

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 commented 12 years ago

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

bradbeattie commented 12 years ago

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

jeromeetienne commented 12 years ago

Ok seems good :)

can you update the readme to explain this options?