Method SetMetadata
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
familyImageMetadataFamiliesbytesbyte[]
Exceptions
- ArgumentException
familynames more than one family, or Text.