harmony 鸿蒙OhosImageSourceInfo

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

OhosImageSourceInfo

Overview

The OhosImageSourceInfo struct defines the image source information, which is obtained by calling OH_ImageSource_GetImageInfo.

System capability: SystemCapability.Multimedia.Image

Since: 10

Related module: Image

Header file: image_source_mdk.h

Summary

Member Variables

Name Description
int32_t pixelFormat Pixel format of the image source. It is set in OH_ImageSource_Create().
int32_t colorSpace Color space of the image source.
int32_t alphaType Alpha type of the image source.
int32_t density Image density of the image source. It is set in OH_ImageSource_Create().
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  赞