harmony 鸿蒙OhosImageSource
OhosImageSource
Overview
The OhosImageSource struct defines the input resource of an image source. Only one type of resource is accepted at a time. The image source is obtained by calling OH_ImageSource_Create.
System capability: SystemCapability.Multimedia.Image
Deprecated from: 11
Since: 10
Related module: Image
Header file: image_source_mdk.h
Summary
Member Variables
Name | Description |
---|---|
char * uri = nullptr | Pointer to the image source URI. Only a file URI or Base64 URI is accepted. |
size_t uriSize = 0 | Length of the image source URI. |
int32_t fd = -1 | Descriptor of the image source. |
uint8_t * buffer = nullptr | Pointer to the image source buffer. Only a formatted packet buffer or Base64 buffer is accepted. |
size_t bufferSize = 0 | Size of the image source buffer. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙_image___native_module
harmony 鸿蒙ImageEffect_FilterDelegate
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦