OhosImageDecodingOps

Overview

The OhosImageDecodingOps struct defines the options for decoding an image source. It is used in OH_ImageSource_CreatePixelMap and OH_ImageSource_CreatePixelMapList.

System capability: SystemCapability.Multimedia.Image

Since: 10

Related module: Image

Summary

Member Variables

Name Description
editable Defines whether the output pixel map is editable.
pixelFormat Defines the pixel format of the output pixel map.
fitDensity Defines the pixel density of the output pixel map.
index Defines the index of the output pixel map.
sampleSize Defines the size of the sample.
rotate Defines the decoding rotation option.
size Defines the pixel width and height of the output pixel map.
region Defines the region of the output pixel map.