harmony 鸿蒙OhosImageDecodingOps
OhosImageDecodingOps
Overview
The OhosImageDecodingOps struct describes 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
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. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙_image___native_module
harmony 鸿蒙ImageEffect_FilterDelegate
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦