Click or drag to resize

HeifContextSetMaximumImageSizeLimit Method

Sets the maximum image size limit.

Namespace: LibHeifSharp
Assembly: LibHeifSharp (in LibHeifSharp.dll) Version: 2.3.0
Syntax
public void SetMaximumImageSizeLimit(
	int maxImageSizeLimit
)

Parameters

maxImageSizeLimit  Int32
The maximum image size limit.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionmaxImageSizeLimit is less than or equal to zero.
ObjectDisposedExceptionThe object has been disposed.
Remarks
This method allows callers to limit the maximum image width/height that LibHeif can load. The value will replace the default limit that LibHeif uses when loading images in this instance.
See Also