• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OhosImageSourceOps
2
3
4## Overview
5
6The **OhosImageSourceOps** struct defines the image source options. It is used in [OH_ImageSource_Create](image.md#oh_imagesource_create) and [OH_ImageSource_CreateIncremental](image.md#oh_imagesource_createincremental).
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 [density](image.md#density-12) | Pixel density of the image source.|
23| int32_t [pixelFormat](image.md#pixelformat-13) | Pixel format of the image source. It is usually used to describe the YUV buffer.|
24| struct [OhosImageSize](_ohos_image_size.md) [size](image.md#size-17) | Pixel width and height of the image source.|
25