读书人

谷歌浏览器ImageData对象如何用

发布时间: 2012-09-17 12:06:51 作者: rapoo

谷歌浏览器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

读书人网 >JavaScript

热点推荐