Education/Projects/ProcessingForTheWeb/PImage: Difference between revisions

Line 14: Line 14:
height:    the height of the image<br />
height:    the height of the image<br />
[http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#imagedata| ImageData]  a canvas element that contains width, height, and a pixel array.
[http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#imagedata| ImageData]  a canvas element that contains width, height, and a pixel array.
The pixel array size is width * height * 4.


== Methods ==
== Methods ==