Interface ImageData
interface ImageData {
colorSpace: PredefinedColorSpace;
data: Uint8ClampedArray;
height: number;
width: number;
}
colorSpace: PredefinedColorSpace;
data: Uint8ClampedArray;
height: number;
width: number;
}
Index
Properties
Properties
Readonly
colorSpace
Readonly
data
Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.
Readonly
height
height: number
Returns the actual dimensions of the data in the ImageData object, in pixels.
Readonly
width
width: number
Returns the actual dimensions of the data in the ImageData object, in pixels.
The underlying pixel data of an area of a
MDN Reference