• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OhosImageSourceInfo
2
3
4## Overview
5
6The **OhosImageSourceInfo** struct defines the image source information, which is obtained by calling [OH_ImageSource_GetImageInfo](image.md#oh_imagesource_getimageinfo).
7
8**System capability**: SystemCapability.Multimedia.Image
9
10**Since**: 10
11
12**Related module**: [Image](image.md)
13
14
15## Summary
16
17
18### Member Variables
19
20| Name| Description|
21| -------- | -------- |
22| int32_t [pixelFormat](image.md#pixelformat-33) | Pixel format of the image source. It is set in [OH_ImageSource_Create()](image.md#oh_imagesource_create).|
23| int32_t [colorSpace](image.md#colorspace) | Color space of the image source.|
24| int32_t [alphaType](image.md#alphatype) | Alpha type of the image source.|
25| int32_t [density](image.md#density-22) | Image density of the image source. It is set in [OH_ImageSource_Create()](image.md#oh_imagesource_create).|
26| struct [OhosImageSize](_ohos_image_size.md) [size](image.md#size-37) | Pixel width and height of the image source.|
27