ReadonlycolorThe read-only ImageData.colorSpace property is a string indicating the color space of the image data.
ReadonlydataThe readonly ImageData.data property returns a pixel data.
ReadonlyheightThe readonly ImageData.height property returns the number of rows in the ImageData object.
ReadonlywidthThe readonly ImageData.width property returns the number of pixels per row in the ImageData object.
The
ImageDatainterface represents the underlying pixel data of an area of a canvas element.MDN Reference