getImageData causes “Uncaught Error: NOT_SUPPORTED_ERR: DOM Exception 9”

99封情书 提交于 2019-12-01 20:01:15

Okay figured out what the problem was. All I have to say is "derp". I was using

getImageData(x, x) 

but the way I was intending to use this requires 4 arguments

getImageData(x,x,x,x)
specman

It could be an issue with editing files on your local system using Chrome. You can close Chrome and reopen it using flags --allow-file-access-from-files to allow local file editing.

Came across this post when I ran into a similar issue and it helped.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!