harmony 鸿蒙@ohos.multimedia.image (Image Processing) (System API)
@ohos.multimedia.image (Image Processing) (System API)
The Image module provides APIs for image processing. You can use the APIs to create a PixelMap object with specified properties or read image pixel data (even in an area).
NOTE
The initial APIs of this module are supported since API version 12. Newly added APIs will be marked with a superscript to indicate their earliest API version.
This topic describes only the system APIs provided by the module. For details about its public APIs, see @ohos.multimedia.image (Image Processing).
Modules to Import
import image from '@ohos.multimedia.image';
DecodingOptions12+
Describes the image decoding options.
System API: This is a system API.
System capability: SystemCapability.Multimedia.Image.ImageSource
Name | Type | Readable | Writable | Description |
---|---|---|---|---|
resolutionQuality | number | Yes | Yes | Image quality. |
ResolutionQuality 12+
Enumerates the image quality levels.
System capability: SystemCapability.Multimedia.Image.Core
Name | Value | Description |
---|---|---|
LOW | 1 | Low image quality, requiring a short decoding time. This is a system API. |
MEDIUM | 2 | Medium image quality, requiring a medium decoding time This is a system API. |
HIGH | 3 | High image quality, requiring a long decoding time. This is a system API. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙_image___native_module
harmony 鸿蒙ImageEffect_FilterDelegate
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦