1# OhosImageSize 2 3 4## 概述 5 6定义图像大小。是[OhosImageDecodingOps](_ohos_image_decoding_ops.md)的成员变量。 7 8**系统能力:** SystemCapability.Multimedia.Image 9 10**起始版本:** 10 11 12**相关模块:** [Image](image.md) 13 14**所在头文件:**[image_mdk_common.h](image__mdk__common_8h.md) 15 16 17## 汇总 18 19 20### 成员变量 21 22| 名称 | 描述 | 23| -------- | -------- | 24| int32_t [width](#width) | 像素中的图像宽度,用pixels表示。 | 25| int32_t [height](#height) | 像素中的图像高度,用pixels表示。 | 26 27 28## 结构体成员变量说明 29 30 31### height 32 33``` 34int32_t OhosImageSize::height 35``` 36**描述** 37像素中的图像高度,用pixels表示。 38 39 40### width 41 42``` 43int32_t OhosImageSize::width 44``` 45**描述** 46像素中的图像宽度,用pixels表示。 47