Table of Contents

Method SetMetadata

Namespace
LMKit.Media.Image
Assembly
LM-Kit.NET.dll

SetMetadata(ImageMetadataFamilies, byte[])

Replaces ONE metadata family with bytes (or removes it when null or empty): an XMP packet to write, an IPTC record, an EXIF block. The next Encode(ImageOutputFormat, ImageEncoderOptions) writes it into every container that can hold it.

public void SetMetadata(ImageMetadataFamilies family, byte[] bytes)

Parameters

family ImageMetadataFamilies
bytes byte[]

Exceptions

ArgumentException

family names more than one family, or Text.

Share