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