OhosImageDecodingOps
struct OhosImageDecodingOps {...}
Overview
The struct describes the options for decoding an image source. It is used in OH_ImageSource_CreatePixelMap and OH_ImageSource_CreatePixelMapList.
Since: 10
Related module: Image
Header file: image_source_mdk.h
Summary
Member Variables
| Name | Description |
|---|---|
| int8_t editable | Whether the output PixelMap is editable. |
| int32_t pixelFormat | Pixel format of the output PixelMap. |
| int32_t fitDensity | Pixel density of the output PixelMap. |
| uint32_t index | Index for decoding the image source. |
| uint32_t sampleSize | Size of the sample. |
| uint32_t rotate | Decoding rotation options. |
| struct OhosImageSize size | Pixel width and height of the output PixelMap. |
| struct OhosImageRegion region | Pixel range of the decoded image source. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-image-nativemodule-oh-pixelmap-hdrmetadatavalue
openharmony 鸿蒙 capi-image-imagepacker-opts-
openharmony 鸿蒙 capi-image-nativemodule-image-region
openharmony 鸿蒙 capi-image-imagepacker-native-
openharmony 鸿蒙 capi-image-imagenative-
openharmony 鸿蒙 capi-image-processing-h
openharmony 鸿蒙 capi-image-ohosimagesourcesupportedformat
openharmony 鸿蒙 capi-image-nativemodule-image-size