# ImageData > **NOTE** > > This component is supported since API version 4. Updates will be marked with a superscript to indicate their earliest API version. The **ImageData** object is an object that stores pixel data rendered on a [canvas](js-components-canvas-canvas.md). ## Attributes | Name | Type | Description | | ------ | ------------------------- | ---------------------------- | | width | number | Actual width of the rectangle on the canvas, in pixels. | | height | number | Actual height of the rectangle on the canvas, in pixels. | | data | <Uint8ClampedArray> | A one-dimensional array of color values. The values range from 0 to 255.| ## Example ```html