Hello, thanks for the work put into this awesome library.
However, I just wanted to confirm if this truly works on an expressjs app. Because, I tried your samples in my express app and the generated code isn't readable by any qr code scanner.
let options = {
text: "sample_data",
width: 320,
height: 320,
correctLevel: QRCode.CorrectLevel.H, // L, M, Q, H
dotScale: 0.4,
colorDark: "#473C8B",
colorLight: "#FFFACD",
quietZone: 15,
quietZoneColor: '#00CED1',
PI: '#BF3030',
PO: '#269926',
PI_TL: '#b7d28d',
PO_TL: '#aa5b71',
AI: '#009ACD',
AO: '#B03060',
timing_H: '#ff6600',
timing_V: '#cc0033',
logo: "public/icons/logo.png",
logoBackgroundColor: '#FFF8DC',
logoBackgroundTransparent: false
};
let qrcode = new QRCode(options);
qrcode.saveImage({
path: 'code.png'
});
return "";
The QR code was generated fine, but I can't seem to read it with any qr code scanner. It's really weird.
Help would be really appreciated.