Click or drag to resize

HeifContextEncodeThumbnail Method

Encodes the image thumbnail.

Namespace: LibHeifSharp
Assembly: LibHeifSharp (in LibHeifSharp.dll) Version: 2.3.0
Syntax
public void EncodeThumbnail(
	int boundingBoxSize,
	HeifImage thumbnail,
	HeifImageHandle parentImageHandle,
	HeifEncoder encoder,
	HeifEncodingOptions options = null
)

Parameters

boundingBoxSize  Int32
The size of the thumbnail bounding box.
thumbnail  HeifImage
The thumbnail image.
parentImageHandle  HeifImageHandle
The handle of the parent image that this thumbnail should be assigned to.
encoder  HeifEncoder
The encoder.
options  HeifEncodingOptions  (Optional)
The encoder options.
Exceptions
ExceptionCondition
ArgumentNullExceptionthumbnail is null. -or- parentImageHandle is null. -or- encoder is null.
ArgumentOutOfRangeExceptionboundingBoxSize is less than or equal to zero.
HeifExceptionA LibHeif error occurred.
ObjectDisposedExceptionThe object has been disposed.
See Also