Set QR ec level
This commit is contained in:
parent
0e73bf7358
commit
13915df0d3
@ -22,6 +22,7 @@ function getAddressQRCode() {
|
||||
scale: 5, // 3x scaling factor
|
||||
includetext: false, // Show human-readable text
|
||||
textxalign: 'center', // Always good to set this
|
||||
eclevel: 'M'
|
||||
});
|
||||
document.getElementById("addresscode-barcode").src = canvas.toDataURL('image/png');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user