harmony 鸿蒙OhosImageDecodingOps

  • 2025-06-12
  • 浏览 (5)

OhosImageDecodingOps

Overview

The OhosImageDecodingOps struct describes the options for decoding an image source. It is used in OH_ImageSource_CreatePixelMap and OH_ImageSource_CreatePixelMapList.

System capability: SystemCapability.Multimedia.Image

Since: 10

Related module: Image

Header file: image_source_mdk.h

Summary

Member Variables

Name Description
int8_t editable Whether the output PixelMap is editable.
int32_t pixelFormat Pixel format of the output PixelMap.
int32_t fitDensity Pixel density of the output PixelMap.
uint32_t index Index for decoding the image source.
uint32_t sampleSize Size of the sample.
uint32_t rotate Decoding rotation options.
struct OhosImageSize size Pixel width and height of the output PixelMap.
struct OhosImageRegion region Pixel range of the decoded image source.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Image Kit

harmony 鸿蒙_image___native_module

harmony 鸿蒙Image_Region

harmony 鸿蒙Image_Size

harmony 鸿蒙Image_String

harmony 鸿蒙ImageEffect

harmony 鸿蒙ImageEffect_Any

harmony 鸿蒙ImageEffect_FilterDelegate

harmony 鸿蒙ImageEffect_FilterNames

harmony 鸿蒙ImageEffect_Region

0  赞