You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like I have the same problem here.
I can decode QR codes as long as the string encoded is not longer than 300-some characters.
For longer strings I get an error (on my implementation) and an "error decoding QR code" in the web.
For example, working QR of a string 300 characters long:
When I try and use an image with any more characters then just a simple email or website, I keep getting a thrown exception that just says 'Error'
to reproduce, just go to the demo page: http://webqr.com/index.html
upload this qr:
It works fine for small qrcodes. When I upload the same graphic to http://zxing.org/w/decode it works.
Here is what is being passed into decode:
....scanQR = function(event) {
qrcode.callback = function(result) {... }
var canvas = document.createElement('canvas');
var context = canvas.getContext('2d');
var img = new Image();
img.onload = function() {
}
What am I doing wrong?
The text was updated successfully, but these errors were encountered: