This interface should be supported by each format reader that can obtain metadata (such as EXIF, IPTC, XMP or Adobe® image resource blocks) from the file.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Interface IMetadataReadSupport
public interface IMetadataReadSupport
Using this interface is easy. You can get EXIF and IPTC metadata dictionaries using Exif and Iptc properties. After that just pass necessary tag ID into Item[Object] property of these dictionaries. Most popular tags are predefined as a static members of ExifDictionary and IptcDictionary.
The value of the AdobeResources property is an instance of the AdobeResourceDictionary class. It specifies a dictionary of Adobe® image resource blocks, each block is represented by the AdobeResourceBlock class.
Xmp property contains string in XML format which contains XMP data. You can either parse this XML document manually or use XmpData class.
You can also copy EXIF, IPTC, XMP or Adobe® image resource blocks from one file to another simply by assigning the value of the corresponding property of the IMetadataReadSupport interface to the same named property of the IMetadataWriteSupport interface.
Currently only those image formats are supported for metadata reading: JPEG, TIFF, PSD.