ImageData
The ImageData object
Methods
| Property | Type | Description |
|---|---|---|
| data | Uint8ClampedArray | One-dimensional array containing data in RGBA order using integers from 0 to 255 inclusive. |
| height | number | Use pixels to describe the actual height of the ImageData. |
| width | number | Use pixels to describe the actual width of the ImageData. |
API Support
| API | WeChat Mini-Program | H5 | React Native |
|---|---|---|---|
| ImageData | ✔️ |