kciter / qart.js

Generate artistic QR code. 🎨
https://kciter.github.io/qart.js/
GNU General Public License v3.0
3.15k stars 176 forks source link

Error: code length overflow #22

Closed superman66 closed 6 years ago

superman66 commented 6 years ago

when I set config.value with a long string value, such as below:

Authentication=BasicNzRlMDVlMjAzNDkxMTFlN2I2ODc5MmViY2I2N2ZlMzM&QRCode=vUURURD45fEHg/+YpAH8elQHkcvIMHNZ0M4t69bTlNux1t7DZm3d6Q==

it will be error:

Error: code length overflow. (1036>976)
kciter commented 6 years ago

You can use version option.

ghost commented 6 years ago

I already use version option to 40, but the problem still there.

zhangliuyong commented 6 years ago

How to solve this problem?