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

code length overflow. Still occurring... #34

Closed Craig-Burch closed 5 years ago

Craig-Burch commented 5 years ago

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?