• 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**System capability**: SystemCapability.Multimedia.Image
9
10**Since**: 10
11
12**Related module**: [Image](image.md)
13
14
15## Summary
16
17
18### Member Variables
19
20| Name| Description|
21| -------- | -------- |
22| [editable](image.md#editable) | Defines whether the output pixel map is editable.|
23| [pixelFormat](image.md#pixelformat-23) | Defines the pixel format of the output pixel map.|
24| [fitDensity](image.md#fitdensity) | Defines the pixel density of the output pixel map.|
25| [index](image.md#index) | Defines the index of the output pixel map.|
26| [sampleSize](image.md#samplesize) | Defines the size of the sample.|
27| [rotate](image.md#rotate) | Defines the decoding rotation option.|
28| [size](image.md#size-27) | Defines the pixel width and height of the output pixel map.|
29| [region](image.md#region) | Defines the region of the output pixel map.|
30