# ImageData - [Attribute](#en-us_topic_0000001058340509_section661391987) **ImageData** stores pixel data rendered on a canvas. ## Attribute

Attribute

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.