HeifContext(Byte) Constructor

Initializes a new instance of the HeifContext class, with the specified byte array to read from.

Definition

Namespace: LibHeifSharp
Assembly: LibHeifSharp (in LibHeifSharp.dll) Version: 3.2.0
C#
public HeifContext(
	byte[] bytes
)

Parameters

bytes  Byte
A byte array that contains the HEIF image.

Exceptions

ArgumentNullExceptionbytes is null.
ArgumentExceptionbytes is empty.
HeifException Unable to create the native HeifContext. -or- The LibHeif version is not supported. -or- A LibHeif error occurred.

See Also