HeifContextAddExifMetadata(HeifImageHandle, ReadOnlySpanByte) Method

Adds EXIF meta-data to the image.

Definition

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

Parameters

imageHandle  HeifImageHandle
The image handle.
exif  ReadOnlySpanByte
The EXIF data.

Exceptions

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

See Also