Image_NativeModule
Overview
The module provides image processing capabilities, including encoding and decoding an image and obtaining image data from the native layer.
The APIs of this module do not need to be imported through the JS interface. You can directly use the NDK to develop the features.
You can refer to the corresponding development guide and samples based on your development requirements.
- Using Image_NativeModule to Decode Images
- Using Image_NativeModule to Decode Pictures
- Using Image_NativeModule to Receive Images
- Using Image_NativeModule for PixelMap Operations
- Using Image_NativeModule to Encode Images
- Using Image_NativeModule to Encode Pictures
Since: 12
Files
| Name | Description |
|---|---|
| image_common.h | Declares the common enums and structs used by the image interface. |
| image_native.h | Declares the APIs for cropping rectangle, size, and component data of an image. |
| image_packer_native.h | Declares the APIs for image encoding. |
| image_receiver_native.h | Declares the APIs used to obtain image data from the native layer. |
| image_source_native.h | Declares the APIs for image decoding. |
| picture_native.h | Declares the APIs for obtaining picture data and information. |
| pixelmap_native.h | Declares the APIs for accessing a PixelMap. |
你可能感兴趣的鸿蒙文章
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