HeifContentLightLevel Constructor

Initializes a new instance of the HeifContentLightLevel class.

Definition

Namespace: LibHeifSharp
Assembly: LibHeifSharp (in LibHeifSharp.dll) Version: 3.2.0
C#
public HeifContentLightLevel(
	int maxContentLightLevel,
	int maxPictureAverageLightLevel
)

Parameters

maxContentLightLevel  Int32
The maximum content light level in candelas per square meter. A value of 0 indicates that the value is undefined.
maxPictureAverageLightLevel  Int32
The maximum picture average light level in candelas per square meter. A value of 0 indicates that the value is undefined.

Exceptions

ArgumentException Both maxContentLightLevel and maxPictureAverageLightLevel are zero.
ArgumentOutOfRangeExceptionmaxContentLightLevel must be in the range of [0, 65535]. maxPictureAverageLightLevel must be in the range of [0, 65535].

See Also