3 ms·
saving the qr code doesn't add the .png extension (it just downloads a "download" file, not "download.png"). I'm using Chrome 15 on Win7.
by machinespit 15y ago
saving the qr code doesn't add the .png extension (it just downloads a "download" file, not "download.png"). I'm using Chrome 15 on Win7.
- pa7 15y agoHey! I know and I also know that this isn't nice. It is because QR-Designer is using the HTML Canvas' toDataURL function to save the image. The download then gets initiated by setting the dataurl as the document.location.href. Unfortunately I can't control the file name with that technique. I'd really appreciate any hints on how to solve that better (without a server) Edit: By the way if you're wondering what he's talking about. It's QR-Designer: http://www.patrick-wied.at/projects/qr-designer/ http://www.patrick-wied.at/projects/qr-designer/