MakerNote metadata refers to image information that is written by digital cameras of different manufacturers. Usually, MakerNote metadata properties contain camera settings and some other conditions under which the shot was taken. Most manufacturers store MakerNote properties in a proprietary binary format derived from EXIF. GroupDocs.Metadata allows extracting MakerNote metadata saved by the following manufacturers:
Canon
Nikon
Panasonic
Sony
Read all MakerNote Properties in the Form of TIFF/EXIF Tags
Utilizing the GroupDocs.Metadata API the user is able to read all metadata properties regardless of the exact MakerNote format.
Load a raw image file that contains MakerNote metadata
Extract the MakerNote package using the MakerNotePackage property
Iterate through the EXIF tags
using(Metadatametadata=newMetadata(Constants.CanonJpeg)){varroot=metadata.GetRootPackage<JpegRootPackage>();if(root.MakerNotePackage!=null){foreach(vartaginroot.MakerNotePackage.ToList()){// Please note that tag ids used by camera manufacturers may intersect with the ids defined in the TIFF/EXIF specificationConsole.WriteLine("{0} = {1}",(int)tag.TagID,tag.Value);}}}
To help you with interpreting extracted tags we implemented classes representing specific MakerNote metadata packages. Please cast the return value of the MakerNotePackage property to one of the classes listed below to get more format-specific capabilities: