HeifContextAddGenericMetadata(HeifImageHandle, String, Byte) Method

Adds generic meta-data to the image.

Definition

Namespace: LibHeifSharp
Assembly: LibHeifSharp (in LibHeifSharp.dll) Version: 3.2.0
C#
public void AddGenericMetadata(
	HeifImageHandle imageHandle,
	string type,
	byte[] data
)

Parameters

imageHandle  HeifImageHandle
The image handle.
type  String
The meta-data type.
data  Byte
The generic meta-data.

Exceptions

ArgumentNullExceptionimageHandle is null. -or- type is null. -or- data is null.
ArgumentExceptiontype is empty or contains only whitespace characters. -or- data is empty.
HeifExceptionA LibHeif error occurred.
ObjectDisposedExceptionThe object has been disposed.

See Also