Click or drag to resize

HeifContextAddGenericMetadata(HeifImageHandle, String, String, Byte) Method

Adds generic meta-data to the image.

Namespace: LibHeifSharp
Assembly: LibHeifSharp (in LibHeifSharp.dll) Version: 2.3.0
Syntax
public void AddGenericMetadata(
	HeifImageHandle imageHandle,
	string type,
	string contentType,
	byte[] data
)

Parameters

imageHandle  HeifImageHandle
The image handle.
type  String
The meta-data type.
contentType  String
The meta-data content type.
data  Byte
The generic meta-data.
Exceptions
ExceptionCondition
ArgumentNullExceptionimageHandle is null. -or- type is null. -or- data is null.
ArgumentExceptiontype is empty or contains only whitespace characters. -or- contentType is empty or contains only whitespace characters. -or- data is an empty array.
HeifExceptionA LibHeif error occurred.
ObjectDisposedExceptionThe object has been disposed.
See Also