| Issue 1: | Auto Determine Type |
1 of 11
Next ›
|
| 2 people starred this issue and may be notified of changes. | Back to list |
QRCode __init__ method currently requires a typeNumber to be specified. The larger the type, the more characters can be stored. I'd like to have the library auto figure out the correct type number such that the type is just large enough to accommodate the information stored. This can be accomplished by catching the "code length overflow" Exception in the createData method, and progressively trying a larger type Number. If the type is specified, then it should behave as it currently does. |