Uint8ClampedArraytyped array. However, as of April 2012, most browsers still returns
CanvasPixelArrayand there are very few implementations which return
Returned by ImageData's
CanvasPixelArray object indicates the color components of each pixel of an image, first for each of its three RGB values in order (0-255) and then its alpha component (0-255), proceeding from left-to-right, for each row (rows are top to bottom).
readonly attribute unsigned long length getter octet (in unsigned long index); setter void (in unsigned long index, in octet value);
- HTML Canvas 2D Context: CanvasPixelArrayWD (Note: this points to the old draft of the specification for reference purpose)