1# OH_Drawing_Image_Info
2
3
4## Overview
5
6The **OH_Drawing_Image_Info** struct describes the image information.
7
8**Since**: 12
9
10**Related module**: [Drawing](_drawing.md)
11
12
13## Summary
14
15
16### Member Variables
17
18| Name| Description|
19| -------- | -------- |
20| int32_t [width](#width) | Width, in px.|
21| int32_t [height](#height) | Height, in px.|
22| [OH_Drawing_ColorFormat](_drawing.md#oh_drawing_colorformat) [colorType](#colortype) | Color format. For details, see [OH_Drawing_ColorFormat](_drawing.md#oh_drawing_colorformat).|
23| [OH_Drawing_AlphaFormat](_drawing.md#oh_drawing_alphaformat) [alphaType](#alphatype) | Alpha format. For details, see [OH_Drawing_AlphaFormat](_drawing.md#oh_drawing_alphaformat).|
24
25
26## Member Variable Description
27
28
29### alphaType
30
31```
32OH_Drawing_AlphaFormat OH_Drawing_Image_Info::alphaType
33```
34
35**Description**
36
37Alpha format. For details, see [OH_Drawing_AlphaFormat](_drawing.md#oh_drawing_alphaformat).
38
39
40### colorType
41
42```
43OH_Drawing_ColorFormat OH_Drawing_Image_Info::colorType
44```
45
46**Description**
47
48Color format. For details, see [OH_Drawing_ColorFormat](_drawing.md#oh_drawing_colorformat).
49
50
51### height
52
53```
54int32_t OH_Drawing_Image_Info::height
55```
56
57**Description**
58
59Height, in pixels.
60
61
62### width
63
64```
65int32_t OH_Drawing_Image_Info::width
66```
67
68**Description**
69
70Width, in pixels.
71