• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# ImageBitmap
2
3> ![img](https://gitee.com/openharmony/docs/raw/OpenHarmony-3.1-Release/en/application-dev/public_sys-resources/icon-note.gif) **NOTE:** **ImageBitmap** is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
4
5The **ImageBitmap** object is generated by the **transferToImageBitmap()** method of the **OffscreenCanvas** and stores the pixel data rendered on the **OffscreenCanvas**.
6
7## Attributes
8
9
10
11| Name   | Type   | Description                                 |
12| ------ | ------ | ------------------------------------------- |
13| width  | number | Pixel width of the **ImageBitmap** object.  |
14| height | number | Pixel height of the **ImageBitmap** object. |