harmony 鸿蒙OhosImageSource

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

OhosImageSource

概述

定义图像源输入资源,每次仅接收一种类型。由OH_ImageSource_Create获取。

起始版本: 10

废弃版本: 11

相关模块: Image

所在头文件: image_source_mdk.h

汇总

成员变量

|名称|描述| |–|–| |char* uri = nullptr|图像源资源标识符,接受文件资源或者base64资源。| |size_t uriSize = 0|图像源资源长度。| |int32_t fd = - 1|图像源文件资源描述符。| |uint8_t* buffer = nullptr|图像源缓冲区资源,接受格式化包缓冲区或者base64缓冲区。| |size_t bufferSize = 0|图像源缓冲区资源大小。|

你可能感兴趣的鸿蒙文章

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  赞