I'm having a problem with my Javascript implementation. The script will run in Firefox but in Chrome it says:
Unable to get image data from canvas because the canvas has been tainted by cross-origin data. index.html:1
Uncaught Error: SecurityError: DOM Exception 18
Does anyone have an idea of what the cause for such inconsistent behaviour could be?