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| int8_t [editable](image.md#editable) | Defines whether the output PixelMap is editable.|
23| int32_t [pixelFormat](image.md#pixelformat-23) | Defines the pixel format of the output PixelMap.|
24| int32_t [fitDensity](image.md#fitdensity) | Defines the pixel density of the output PixelMap.|
25| uint32_t [index](image.md#index) | Defines the index of the output PixelMap.|
26| uint32_t [sampleSize](image.md#samplesize) | Defines the size of the sample.|
27| uint32_t [rotate](image.md#rotate) | Defines the decoding rotation option.|
28| struct [OhosImageSize](_ohos_image_size.md) [size](image.md#size-27) | Defines the pixel width and height of the output PixelMap.|
29| struct [OhosImageRegion](_ohos_image_region.md) [region](image.md#region) | Defines the region of the output PixelMap.|
30