---
title: hi_pic_buf_attr
description: "定义图片缓冲区信息的字典。"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/aadgp/aclpythondevg_01_0560.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/aadgp/aclpythondevg_01_0560.html
indexId: 44cf604e0effd37a944821a19c4383d4a6e8ebb8f5547a93850b453f50ec50dd108
---
# hi_pic_buf_attr

#### 说明

定义图片缓冲区信息的字典。


#### 定义

```
hi_pic_buf_attr = {"width": width,
"height": height,
"align": align,
"bit_width":
hi_data_bit_width
,
"pixel_format":
hi_pixel_format
,
"compress_mode":
hi_compress_mode
}
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| width | 整型，图片宽。 |
| height | 整型，图片高。 |
| align | 整型，对齐参数，预留参数，暂不支持。 |
| bit\_width | 整型，图片位宽。 |
| pixel\_format | 整型，图片格式。VDEC视频解码时，暂不使用该参数；JPEGD图像解码时，表示解码输出图像格式，当前支持的输出图像格式请参见JPEGD功能及约束说明。 |
| compress\_mode | 整型，压缩模式。 |
