Closed Ethan0007 closed 6 years ago
Hi, Same problem for me.
This means that you are not using the right data format.
In nodejs, you have to pass an image buffer .
See the tests for details
https://github.com/edi9999/jsqrcode/blob/master/test/qrcode.js
Hi,
I am encountering the same issue, i am generating a qr code using another library its gives me url of qrcode which is base64 encoded. I am passing it like this qr.decode(url)
i am getting this error "Image is not defined"
Any suggestions?
Hi, I am encountering the same issue when decoding from an url.
You have to parse your image with image-parser first
Hi,
I'm using react-native and I'm trying to decode bar-code base on the camera result and follow the docs instruction, but when i call the qr.decode(data.path) it will give me an exception . "Image is not define";
Please be advised.
Thanks