HeifImageHandleDecode Method

Decodes this instance to a HeifImage.

Definition

Namespace: LibHeifSharp
Assembly: LibHeifSharp (in LibHeifSharp.dll) Version: 3.2.0
C#
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

HeifException A LibHeif error occurred. -or- The color profile type is not supported.
ObjectDisposedExceptionThe object has been disposed.

See Also