Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to extend the maximum QR code limit to accept 7089 digits #229

Open
hatgit opened this issue May 7, 2020 · 1 comment
Open

Request to extend the maximum QR code limit to accept 7089 digits #229

hatgit opened this issue May 7, 2020 · 1 comment

Comments

@hatgit
Copy link

hatgit commented May 7, 2020

I noticed that this QR code generator has a limit that appears much smaller than the theoretical maximum. For example, if one were to paste a series of 1's and 0's concatenated as a single string (i.e. 10100100010......etc..) what would be the maximum number of characters permissible in the current version, and what changes to the code would be needed to extend that?

I saw the following snippet in the qrcode.js file and wondering if anyone had a solution:
QRCodeLimitLength=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];

@Leetcore
Copy link

Leetcore commented Mar 5, 2021

Is there a version of qr code generators in JS that can do 3100 chars?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants