harmony 鸿蒙OhosImageSourceOps

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

OhosImageSourceOps

Overview

The OhosImageSourceOps struct defines the image source options. It is used in OH_ImageSource_Create and OH_ImageSource_CreateIncremental.

System capability: SystemCapability.Multimedia.Image

Since: 10

Related module: Image

Header file: image_source_mdk.h

Summary

Member Variables

Name Description
int32_t density Pixel density of the image source.
int32_t pixelFormat Pixel format of the image source. It is usually used to describe the YUV buffer.
struct OhosImageSize size Pixel width and height of the 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  赞