📌  相关文章
📜  未捕获的 DOMException:无法在“CanvasRenderingContext2D”上执行“getImageData”:画布已被跨域数据污染. - Javascript代码示例

📅  最后修改于: 2022-03-11 15:01:50.945000             🧑  作者: Mango

代码示例1
// Add below code just after creating the image object
img.crossOrigin = "Anonymous";