We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

The readonly ImageData.data property returns a Uint8ClampedArray representing a one-dimensional array containing the data in the RGBA order, with integer values between 0 and 255 (included).




var imagedata = new ImageData(100, 100);
imagedata.data; // Uint8ClampedArray[40000]


Specification Status Comment
HTML Living Standard
The definition of 'ImageData.data' in that specification.
Living Standard  

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes1214993.1
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support ? Yes Yes14 Yes Yes Yes

See also


Document Tags and Contributors

Contributors to this page: fscholz, libbymc, 0xABCDEF
Last updated by: fscholz,