Download canvas image on the fly

2019-02-27 10:13发布

I have <div id="qrcode"></div>

Then jquery.qrcode.js plugin creates over a` element with the QR Code.

So, i would like to put a <button> element in the page for downloading that "image" (it's a canvas element) created on the fly.

Is it possible to do that?

1条回答
登录 后发表回答