OhosImageSourceInfo
struct OhosImageSourceInfo {...}
Overview
The struct describes the image source information, which is obtained by calling OH_ImageSource_GetImageInfo.
Since: 10
Related module: Image
Header file: image_source_mdk.h
Summary
Member Variables
| Name | Description |
|---|---|
| int32_t pixelFormat | Pixel format of the image source. It is set by calling OH_ImageSource_CreateFromUri, OH_ImageSource_CreateFromFd, or OH_ImageSource_CreateFromData. |
| int32_t colorSpace | Color space of the image source. |
| int32_t alphaType | Alpha type of the image source. |
| int32_t density | Image density of the image source. It is set by calling OH_ImageSource_CreateFromUri, OH_ImageSource_CreateFromFd, or OH_ImageSource_CreateFromData. |
| struct OhosImageSize size | Pixel width and height of the 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