openharmony 鸿蒙 capi-image-ohosimagedecodingops

2026-08-25 浏览 (1)

OhosImageDecodingOps

struct OhosImageDecodingOps {...}

Overview

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

Since: 10

Related module: Image

Header file: image_source_mdk.h

Summary

Member Variables

NameDescription
int8_t editableWhether the output PixelMap is editable.
int32_t pixelFormatPixel format of the output PixelMap.
int32_t fitDensityPixel density of the output PixelMap.
uint32_t indexIndex for decoding the image source.
uint32_t sampleSizeSize of the sample.
uint32_t rotateDecoding rotation options.
struct OhosImageSize sizePixel width and height of the output PixelMap.
struct OhosImageRegion regionPixel range of the decoded image source.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-image-nativemodule-oh-pixelmap-hdrmetadatavalue

openharmony 鸿蒙 capi-image-imagepacker-opts-

openharmony 鸿蒙 capi-image-nativemodule-image-region

openharmony 鸿蒙 capi-image-imagepacker-native-

openharmony 鸿蒙 capi-image-imagenative-

openharmony 鸿蒙 capi-image-processing-h

openharmony 鸿蒙 capi-image-ohosimagesourcesupportedformat

openharmony 鸿蒙 capi-image-nativemodule-image-size

openharmony 鸿蒙 capi-image-mdk-h

openharmony 鸿蒙 capi-image-ohosimagesourcedelaytimelist

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/q03hEEPs