davidshimjs / qrcodejs

Cross-browser QRCode generator for javascript
MIT License
13.53k stars 4.76k forks source link

Generate QR Code into variable #62

Open Seagulls opened 9 years ago

Seagulls commented 9 years ago

I'm using your library and also jspdf to create some pdf documents.

I just want to generate a QR code and save the result into a variable instead of printing it into a div element so I can put the code into my pdf document.

Is this possible?

bmwertman commented 9 years ago

I would like to do the same thing. @Seagulls did you figure it out?

Seagulls commented 9 years ago

I haven't managed to do this yet, I've had a quick look at the code but couldn't figure out where exactly the data uri is generated and stored.

prensmiskin commented 3 years ago

I need this too. Is there a solution? @davidshimjs