HeifMasteringDisplayColourVolume Constructor

Initializes a new instance of the HeifMasteringDisplayColourVolume class.

Definition

Namespace: LibHeifSharp
Assembly: LibHeifSharp (in LibHeifSharp.dll) Version: 3.2.0
C#
public HeifMasteringDisplayColourVolume(
	IReadOnlyList<int> displayPrimariesX,
	IReadOnlyList<int> displayPrimariesY,
	int whitePointX,
	int whitePointY,
	long maxDisplayMasteringLuminance,
	long minDisplayMasteringLuminance
)

Parameters

displayPrimariesX  IReadOnlyListInt32
The display primaries x.
displayPrimariesY  IReadOnlyListInt32
The display primaries y.
whitePointX  Int32
The white point x.
whitePointY  Int32
The white point y.
maxDisplayMasteringLuminance  Int64
The maximum display mastering luminance.
minDisplayMasteringLuminance  Int64
The minimum display mastering luminance.

Exceptions

ArgumentNullExceptiondisplayPrimariesX is . -or- displayPrimariesY is .
ArgumentExceptiondisplayPrimariesX count does not equal 3. -or- displayPrimariesY count does not equal 3.
ArgumentOutOfRangeExceptionwhitePointX must be in the range of [0, 65535]. -or- whitePointY must be in the range of [0, 65535]. -or- maxDisplayMasteringLuminance must be in the range of [0, 4294967295]. -or- minDisplayMasteringLuminance must be in the range of [0, 4294967295].

See Also