HeifContextEncodeImage Method

Encodes the image.

Definition

Namespace: LibHeifSharp
Assembly: LibHeifSharp (in LibHeifSharp.dll) Version: 3.2.0
C#
public void EncodeImage(
	HeifImage image,
	HeifEncoder encoder,
	HeifEncodingOptions options = null
)

Parameters

image  HeifImage
The image.
encoder  HeifEncoder
The encoder.
options  HeifEncodingOptions  (Optional)
The encoder options.

Exceptions

ArgumentNullExceptionimage is null. -or- encoder is null.
HeifExceptionA LibHeif error occurred.
ObjectDisposedExceptionThe object has been disposed.

See Also