hi_img_base_info
说明
定义图片基本信息。
定义
hi_img_base_info = {"width": width, "height": height, "pixel_format": hi_pixel_format, "reserved": [2]}
成员
成员名称 |
描述 |
---|---|
width |
整型,图片宽度。 |
height |
整型,图片高度。 |
pixel_format |
整型,图片格式。 |
reserved |
列表,预留属性,为保证后续版本兼容性,请务必传入[0, 0]进行清零初始化,在代码中必须避免显式对reserved字段进行访问。 |
父主题: 公共