HeifImageHandleGetXmpMetadata Method

Gets the XMP meta-data.

Definition

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

Return Value

Byte
The XMP meta-data bytes.

Remarks

If the image contains more than one XMP block, this method will only return the first one.

Exceptions

HeifException A LibHeif error occurred. -or- The meta-data block is larger than 2 GB.
ObjectDisposedExceptionThe object has been disposed.

See Also