标签: javascript html5-canvas
在MDN's Pixel manipulation with canvas article的示例中,加载图像后,它们设置了img.style.display = 'none';
img.style.display = 'none';
为什么不设置任何显示?
答案 0 :(得分:0)
他们想从图像中读取像素数据,而不在页面中显示<img>元素。
<img>