Wipe是一款基于HTML5 canvas的移动端,涂抹,自动播放涂抹轨迹,刮刮乐的插件。(The movement of the wiper is a based on HTML 5 canvas, daub, automatic playback daub trajectory, scratch music plug-in.)
使用img作为涂抹层,报错~
报错信息:
DOMException: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.
这是什么问题啊,canvas小白,求指点啊
使用img作为涂抹层,报错~ 报错信息: DOMException: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data. 这是什么问题啊,canvas小白,求指点啊