HeifContextAddXmpMetadata(HeifImageHandle, ReadOnlySpanByte) Method

Adds XMP meta-data to the image.

Definition

Namespace: LibHeifSharp
Assembly: LibHeifSharp (in LibHeifSharp.dll) Version: 3.2.0
C#
public void AddXmpMetadata(
	HeifImageHandle imageHandle,
	ReadOnlySpan<byte> xmp
)

Parameters

imageHandle  HeifImageHandle
The image handle.
xmp  ReadOnlySpanByte
The XMP data.

Exceptions

ArgumentNullExceptionimageHandle is null.
ArgumentExceptionxmp is empty.
HeifExceptionA LibHeif error occurred.
ObjectDisposedExceptionThe object has been disposed.

See Also