I've read that it is not possible to use getImageData on an image loaded from a different domain. Any trick to overcome this?
Thanks
您可以在您的域上制作一个代理脚本,以转发来自其他域的图像。
好吧,如果您了解python的知识,请在终端中尝试python -m SimpleHTTPServer
,将测试html文件名更改为index.html
并输入local:8000
即可开始测试
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.