hi_img_base_info

Description

Defines basic image information.

Prototype

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

Members

Member

Description

width

Int, image width.

height

Int, image height.

pixel_format

Int, image format.

reserved

List, reserved attribute. To ensure compatibility in later versions, pass [0, 0] for resetting and initialization. Do not explicitly access the reserved field in the code.