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) | Defines the 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) | Defines the color space of the image source.|
24| int32_t [alphaType](image.md#alphatype) | Defines the alpha type of the image source.|
25| int32_t [density](image.md#density-22) | Defines the 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) | Defines the pixel width and height of the image source.|
27