OhosImageSourceInfo

Overview

The OhosImageSourceInfo struct defines the image source information, which is obtained by calling OH_ImageSource_GetImageInfo.

@Syscap SystemCapability.Multimedia.Image

Since

10

Related Modules

Image

Summary

Member Variables

Name Description
pixelFormat Defines the pixel format of the image source. It is set in OH_ImageSource_Create().
colorSpace Defines the color space of the image source.
alphaType Defines the alpha type of the image source.
density Defines the image density of the image source. It is set in OH_ImageSource_Create().
size Defines the pixel width and height of the image source.