OhosImageSourceOps

Overview

The OhosImageSourceOps struct defines the image source options. It is used in OH_ImageSource_Create and OH_ImageSource_CreateIncremental.

System capability: SystemCapability.Multimedia.Image

Since: 10

Related module: Image

Summary

Member Variables

Name Description
density Defines the pixel density of the image source.
pixelFormat Defines the pixel format of the image source. It is usually used to describe the YUV buffer.
size Defines the pixel width and height of the image source.