Click or drag to resize

HeifImageHandleDecode Method

Decodes this instance to a HeifImage.

Namespace: LibHeifSharp
Assembly: LibHeifSharp (in LibHeifSharp.dll) Version: 2.3.0
Syntax
public HeifImage Decode(
	HeifColorspace colorspace,
	HeifChroma chroma,
	HeifDecodingOptions options = null
)

Parameters

colorspace  HeifColorspace
The destination image color space.
chroma  HeifChroma
The chroma.
options  HeifDecodingOptions  (Optional)
The decoding options.

Return Value

HeifImage
The decoded image.
Exceptions
ExceptionCondition
HeifException A LibHeif error occurred. -or- The color profile type is not supported.
ObjectDisposedExceptionThe object has been disposed.
See Also