harmony 鸿蒙OhosImageDecodingOps

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

OhosImageDecodingOps

概述

定义图像源解码选项。此选项给OH_ImageSource_CreatePixelMapOH_ImageSource_CreatePixelMapList接口使用。

起始版本: 10

相关模块: Image

所在头文件: image_source_mdk.h

汇总

成员变量

|名称|描述| |–|–| |int8_t editable|定义输出的像素位图是否可编辑。| |int32_t pixelFormat|定义输出的像素格式。| |int32_t fitDensity|定义解码目标的像素密度。| |uint32_t index|定义ImageSource解码序号。| |uint32_t sampleSize|定义解码样本大小选项。| |uint32_t rotate|定义解码旋转选项。| |struct OhosImageSize size|定义解码目标像素宽高的大小。| |struct OhosImageRegion region|定义ImageSource解码的像素范围。|

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Image Kit(图片处理服务)

harmony 鸿蒙Interface (AuxiliaryPicture)

harmony 鸿蒙Interface (Image)

harmony 鸿蒙Interface (ImageCreator)

harmony 鸿蒙Interface (ImagePacker)

harmony 鸿蒙Interface (ImageReceiver)

harmony 鸿蒙Interface (ImageSource)

harmony 鸿蒙Interface (Metadata)

harmony 鸿蒙Interface (Picture)

harmony 鸿蒙Interface (PixelMap)

0  赞