当前位置: 代码迷 >> JavaScript >> 谷歌浏览器ImageData对象,如何用
  详细解决方案

谷歌浏览器ImageData对象,如何用

热度:355   发布时间:2012-09-17 12:06:51.0
谷歌浏览器ImageData对象,怎么用?
chrome 浏览器ImageData对象,是什么玩意,怎么用,我试了很多遍,都提示参数 Illegal constructor非法构造

------解决方案--------------------
是 HTML5中canvas使用的。可以参考
http://www.w3.org/TR/2dcontext/
http://www.w3.org/TR/html5/the-canvas-element.html

http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#imagedata
  相关解决方案