Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我调用 getImageData() 并将其内容复制到 GOOGLE CHROME 上的另一个画布后,原始画布渲染变得模糊。任何人都面临类似的问题?
您不需要getImageData()用于复制图像,只需用于drawImage将源画布绘制到目标中:
getImageData()
drawImage
dstContext.drawImage(srcCanvas, 0, 0);
由于您没有提供任何示例/代码,因此很难说清楚。