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

need to generate for min of 256 character #6

Open sweetsruthi opened 13 years ago

sweetsruthi commented 13 years ago

this plugin is really great but due some size limitations i m not able to effectively use it. please help.

I need to use qrcode generator which supports atleast 256 characters. As suggested i tried to increase the typeNumber.

When i change typeNumber to 10 i am allowed only 122 characters. is there any help so that i can get for 256 characters??

if i use more than 10 for typeNumber i am get "undefined" from getRsBlockTable() function and giving me error " bad rs block @ typeNumber:20/errorCorrectLevel:2"

bheijns commented 13 years ago

I have the exact same problem. I want to implement a 1000 char big QR-code on my site but this script seems to can't handle it.

kernity commented 13 years ago

I have the same need. I need to generate qrcode with vcard...

jeromeetienne commented 13 years ago

it is now possible up to 4096 char

see https://github.com/jeromeetienne/jquery-qrcode/commit/af5e6ef282e7ae3ade2ba239ea83a1bf17a8ccf4