kazuhikoarase / qrcode-generator

QR Code Generator implementation in JavaScript, Java and more.
https://kazuhikoarase.github.io/qrcode-generator/js/demo/
MIT License
2.1k stars 677 forks source link

Scalable SVGs and white background #39

Closed snshn closed 7 years ago

snshn commented 7 years ago

Opening a QR Code without background in most image viewers would make them unreadable (tile background is a frequent feature in most image viewers for highlighting transparency; I blame Adobe Photoshop). There already was a PR but I've decided to copy over my local modifications along with my scalability patch, so this whole PR makes the SVG generation more solid for your great library, Kazuhiko-san.