kciter / qart.js

Generate artistic QR code. 🎨

Home Page:https://kciter.github.io/qart.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

code length overflow. Still occurring...

Craig-Burch opened this issue · comments

I though this was all fixed but it doesnt seem like it. Maybe I am doing something wrong?

const qart = new QArt({
value: url, //my base64 image
imagePath: './icon.png',
filter: "color",
size: 195, //default
version: 40
});

     // using callback
    qart.make((canvas) => {
      document.getElementById('qart').appendChild(canvas);
    });

ERROR
o {message: "code length overflow. (840292>10208)", name: "CodeLengthOverflow"}
"Can't create QRCode need up version, current version 41"
RangeError: Invalid array length

40 is the max version as far as I can tell? what is up?