LazarSoft/jsqrcode

I get always a "Cross domain image reading not supported in your browser!" error message

Opened this issue · 3 comments

Hi,
if I try qr. decode("qr.png") (the qr image and the source are in the same folder), I'll receive an error message like: "Cross domain image reading not supported in your browser! Save it to your computer then drag and drop the file!".

Do you know a solution for my problem or a fix for my usage?!

Thanks!

Hi,

Sorry for the late answer.

You get this error message when the CanvasContext.getImageData function
fails. Try it through a web server (not directly by opening the html file
in a browser), maybe some security setting prevents image editing in your
environment.

Best Regards,
Laszlo

On Fri, Oct 12, 2012 at 1:47 PM, Tobias notifications@github.com wrote:

Hi,
if I try qr. decode("qr.png") (the qr image and the source are in the same
folder), I'll receive an error message like: "Cross domain image reading
not supported in your browser! Save it to your computer then drag and drop
the file!".

Do you know a solution for my problem or a fix for my usage?!

Thanks!


Reply to this email directly or view it on GitHubhttps://github.com//issues/2.

Hi,
no problem. The error was absolutly my fault! sorry for the inconvience.

  • Tobias

Then go ahead and close the issue...