This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

ImageData

Summary

The ImageData object of the canvas API.

Properties

html/elements/data
Initialized to a Uint8ClampedArray object. The Uint8ClampedArray object must use a Canvas Pixel ArrayBuffer for its storage, and must have a zero start offset and a length equal to the length of its storage, in bytes.
height
The number of rows in the image data.
width
The number of physical device pixels per row in the image data.

Methods

No methods.

Events

No events.

Related specifications

W3C HTML Canvas 2D Specification
W3C Candidate Recommendation

Attributions