---
title: hi_img_base_info
description: "定义图片基本信息。"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/aadgp/aclpythondevg_01_0575.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/aadgp/aclpythondevg_01_0575.html
indexId: 0dbc64ea3a6174ecf20ca5fa21c7fc1abd430e0cdb7f9b7829f9f9559a113524108
---
# hi_img_base_info

#### 说明

定义图片基本信息。


#### 定义

```
hi_img_base_info = {"width": width,
"height": height,
"pixel_format":
hi_pixel_format
,
"reserved": [2]}
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| width | 整型，图片宽度。 |
| height | 整型，图片高度。 |
| pixel\_format | 整型，图片格式。 |
| reserved | 列表，预留参数，为保证后续版本兼容性，请务必使用memset结构体方式进行清零初始化，在代码中必须避免显式对reserved字段进行访问。 |
