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

QR Code generated size #1

Closed tw2113 closed 13 years ago

tw2113 commented 13 years ago

Not sure if this is an "issue" per say, but I was curious if it was possible at all to control the generated size of the QR square. I am planning to use it for a resume page but would like something a little smaller if possible.

jeromeetienne commented 13 years ago

it is. someone needs to update the docs.

https://github.com/jeromeetienne/jquery-qrcode/blob/master/src/jquery.qrcode.js#L9-14

jquery('#qrcode').qrcode({ width: 64, height: 64, text: "wow with size" });