harmony 鸿蒙OhosImageSource

  • 2023-10-30
  • 浏览 (194)

OhosImageSource

概述

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

\@Syscap SystemCapability.Multimedia.Image

起始版本:

10

相关模块:

Image

汇总

成员变量

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

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Native API

harmony 鸿蒙AVCapability

harmony 鸿蒙AVDemuxer

harmony 鸿蒙AVMuxer

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙AVSource

harmony 鸿蒙AudioDecoder

harmony 鸿蒙AudioEncoder

harmony 鸿蒙CodecBase

harmony 鸿蒙Core

0  赞