# Image_Region

> phone 12+ | 2in1 13+ | tablet 12+ | tv 19+ | wearable 18+

```c
struct Image_Region {...}
```

## 概述

待解码的图像源区域结构体。

**起始版本：** 12

**相关模块：** [Image_NativeModule](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-image-nativemodule)

**所在头文件：** [image_common.h](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-image-common-h)

## 汇总

### 成员变量

|名称|描述|
|:--------------|:---------------|
|uint32_t x|区域横坐标，不能大于原图的宽度。|
|uint32_t y|区域纵坐标，不能大于原图的高度。|
|uint32_t width|输出图片的宽，单位：像素。|
|uint32_t height|输出图片的高，单位：像素。|

