HeifContextGetEncoder(HeifCompressionFormat) Method

Gets the default encoder for the specified compression format.

Definition

Namespace: LibHeifSharp
Assembly: LibHeifSharp (in LibHeifSharp.dll) Version: 3.2.0
C#
public HeifEncoder GetEncoder(
	HeifCompressionFormat format
)

Parameters

format  HeifCompressionFormat
The compression format.

Return Value

HeifEncoder
The default encoder for the specified compression format.

Exceptions

HeifExceptionA LibHeif error occurred.
ObjectDisposedExceptionThe object has been disposed.

See Also