1# OhosImageDecodingOps 2<!--Kit: Image Kit--> 3<!--Subsystem: Multimedia--> 4<!--Owner: @aulight02--> 5<!--SE: @liyang_bryan--> 6<!--TSE: @xchaosioda--> 7 8## Overview 9 10The OhosImageDecodingOps struct describes the options for decoding an image source. It is used in [OH_ImageSource_CreatePixelMap](capi-image-source-mdk-h.md#oh_imagesource_createpixelmap) and [OH_ImageSource_CreatePixelMapList](capi-image-source-mdk-h.md#oh_imagesource_createpixelmaplist). 11 12**Since**: 10 13 14**Related module**: [Image](capi-image.md) 15 16**Header file**: [image_source_mdk.h](capi-image-source-mdk-h.md) 17 18## Summary 19 20### Member Variables 21 22| Name| Description| 23| -- | -- | 24| int8_t editable | Whether the output PixelMap is editable.| 25| int32_t pixelFormat | Pixel format of the output PixelMap.| 26| int32_t fitDensity | Pixel density of the output PixelMap.| 27| uint32_t index | Index for decoding the image source.| 28| uint32_t sampleSize | Size of the sample.| 29| uint32_t rotate | Decoding rotation options.| 30| struct [OhosImageSize](capi-image-ohosimagesize.md) size | Pixel width and height of the output PixelMap.| 31| struct [OhosImageRegion](capi-image-ohosimageregion.md) region | Pixel range of the decoded image source.| 32