【canvas.toDataUrl】Tainted canvases may not be exported
来源:互联网 发布:淘宝的高仿九阳豆浆机 编辑:程序博客网 时间:2024/05/18 03:38
调用canvas 的 toDataUrl 方法时报:
Uncaught SecurityError: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.
解决方案:
img.crossOrigin = "anonymous";
0 0
- 【canvas.toDataUrl】Tainted canvases may not be exported
- will not be exported or published. Runtime ClassNotFoundExceptions may result
- Why the “MAVEN2_CLASSPATH_CONTAINER will not be exported or published”
- SIM May not be in stable state.....
- hbase phoenix char may not be null
- WebLogicDeployableObject' may not be null的问题
- [CAQ1]Exception : name may not be null
- host name may not be null
- canvas 执行canvas.toDataURL("image/png"); 出错
- Provider cannot be found.It may not be properly installed
- 如何上传 canvas 的 toDataURL 中的内容
- canvas.toDataURL() dataURL转化blob 失败
- ORA-39181: Only partial table data may be exported due to fine grain access control on "OE"."PURCHAS
- oracle 11.2.0.3 expdp 时报错,ORA-39181: Only partial table data may be exported due to fine grain
- May be...
- The following types may not be used as proxies 异常
- The following types may not be used as proxies
- FWK005 parse may not be called while parsing
- opencv2实现人脸眼鼻口检测_不大稳定
- Ubuntu下与菜单和图标相关的几个文件夹
- Django中models对应MySQL中的类型
- ie6 bug - hover 相关
- [程序员] 工作十年的老程序员给大伙分享的职业发展道路
- 【canvas.toDataUrl】Tainted canvases may not be exported
- 9、ECLIPSE中部署工程报“Undefined exploded archive location”错误的解决方法。
- 随便写的
- 自定义Ember组件 实现pagination
- 前端开发学习笔记一
- 学习Java有哪些重点?
- 结构体内存对齐后所占内存空间大小的计算
- 2014-12-11 hdoj改革春风吹满地
- android下创建AppWidget步骤