Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.
是因为没有服务器环境吧,不要用本地图片再试一下