X and Y is switched QRCODES DONT WORK
jpike88 opened this issue · 2 comments
jpike88 commented
Why on earth would you switch the x and y coordinates? Do you even test your code?
qalqi commented
Change Lines 307 and 308
var py = (x * xsize + options.padding * xsize).toString();
var px = (y * ysize + options.padding * ysize).toString();
papnkukn commented
A fix in v1.1.0
new QRCode({
...
swap: true //Swap X and Y modules
})