• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OhosImageDecodingOps
2
3
4## Overview
5
6The **OhosImageDecodingOps** struct defines the options for decoding an image source. It is used in [OH_ImageSource_CreatePixelMap](image.md#oh_imagesource_createpixelmap) and [OH_ImageSource_CreatePixelMapList](image.md#oh_imagesource_createpixelmaplist).
7
8\@Syscap SystemCapability.Multimedia.Image
9
10**Since**
11
1210
13
14**Related Modules**
15
16[Image](image.md)
17
18
19## Summary
20
21
22### Member Variables
23
24| Name| Description|
25| -------- | -------- |
26| [editable](image.md#editable) | Defines whether the output pixel map is editable.|
27| [pixelFormat](image.md#pixelformat-23) | Defines the pixel format of the output pixel map.|
28| [fitDensity](image.md#fitdensity) | Defines the pixel density of the output pixel map.|
29| [index](image.md#index) | Defines the index of the output pixel map.|
30| [sampleSize](image.md#samplesize) | Defines the size of the sample.|
31| [rotate](image.md#rotate) | Defines the decoding rotation option.|
32| [size](image.md#size-27) | Defines the pixel width and height of the output pixel map.|
33| [region](image.md#region) | Defines the region of the output pixel map.|
34