GroupDocs.Metadata for .NET 17.08 Release Notes
Leave feedback
Note
This page contains release notes for GroupDocs.Metadata for .NET 17.08.0
Major Features
There are 2 new features, 2 ehnancements and 1 fix in this regular monthly release. The most notable are:
Ability to read CANON maker notes in JPEG image
Ability to read Panasonic maker notes in JPEG image
Ability to read EXIF maker-notes from Nikon D models (D300, D500, D600, D5100 etc)
Ability to read EXIF maker-notes from Sony xperia, cybershot models
Xmp metadata is absent after removing EXIF geo-location
All Changes
Key
Summary
Category
METADATANET-1845
Ability to read EXIF maker-notes from Nikon D models (D300, D500, D600, D5100 etc)
Enhancement
METADATANET-1846
Ability to read EXIF maker-notes from Sony xperia, cybershot models
Enhancement
METADATANET-1731
Ability to read CANON maker notes in JPEG image
New Feature
METADATANET-1803
Ability to read Panasonic maker notes in JPEG image
New Feature
METADATANET-1836
Xmp metadata is absent after removing EXIF geo-location
Bug
Public API and Backward Incompatible Changes
Note
This section lists public API changes that were introduced in GroupDocs.Metadata for .NET 17.08.0 It includes not only new and obsoleted public methods, but also a description of any changes in the behavior behind the scenes in GroupDocs.Metadata which may affect existing code. Any behavior introduced that could be seen as a regression and modifies existing behavior is especially important and is documented here.
Ability to read EXIF maker-notes from Nikon D models (D300, D500, D600, D5100 etc)
This feature allows to read EXIF maker-notes from Nikon D models (D300, D500, D600, D5100 etc).
Public API changes
None
This example demonstrates how to get NIKON makernotes.
// path to the jpg filestringpath=@"C:\\example.jpg";// initialize JpegFormatJpegFormatjpegFormat=newJpegFormat(path);// get makernotesvarmakernotes=jpegFormat.GetMakernotes();if(makernotes!=null){// try cast to NikonMakerNotesNikonMakerNotesnikonMakerNotes=makernotesasNikonMakerNotes;if(nikonMakerNotes!=null){// get quality stringstringquality=nikonMakerNotes.Quality;// get versionbyte[]version=nikonMakerNotes.MakerNoteVersion;}}
Ability to read EXIF maker-notes from Sony xperia, cybershot models
This feature allows to read EXIF maker-notes from Sony xperia, cybershot models.
Public API changes
None
This example demonstrates how to get SONY makernotes.
// path to the jpg filestringpath=@"C:\\example.jpg";// initialize JpegFormatJpegFormatjpegFormat=newJpegFormat(path);// get makernotesvarmakernotes=jpegFormat.GetMakernotes();if(makernotes!=null){// try cast to SonyMakerNotesSonyMakerNotessonyMakerNotes=makernotesasSonyMakerNotes;if(sonyMakerNotes!=null){// get color modeint?colorMode=sonyMakerNotes.ColorMode;// get JPEG qualityint?jpegQuality=sonyMakerNotes.JPEGQuality;}}
Ability to read CANON maker notes in JPEG image
This feature allows to read CANON maker notes in JPEG image.
Public API changes
Added CanonMakerNotes class into namespace GroupDocs.Metadata.Formats.Image Added CanonCameraSettings class into namespace GroupDocs.Metadata.Formats.Image
This example demonstrates how to get CANON maker-notes.
// path to the jpg filestringpath=@"C:\\example.jpg";// initialize JpegFormatJpegFormatjpegFormat=newJpegFormat(path);// get makernotesvarmakernotes=jpegFormat.GetMakernotes();if(makernotes!=null){// try cast to CanonMakerNotesCanonMakerNotescanonMakerNotes=makernotesasCanonMakerNotes;if(canonMakerNotes!=null){// get cammera settingsCanonCameraSettingscameraSettings=canonMakerNotes.CameraSettings;if(cameraSettings!=null){// get lens typeintlensType=cameraSettings.LensType;// get qualityintquality=cameraSettings.Quality;// get all valuesint[]allValues=cameraSettings.Values;}// get firmware versionstringfirmwareVersion=canonMakerNotes.CanonFirmwareVersion;}}
Ability to read Panasonic maker notes in JPEG image
This feature allows to read Panasonic maker notes in JPEG image.
Public API changes
Added PanasonicMakerNotes class into namespace GroupDocs.Metadata.Formats.Image
This example demonstrates how to get Panasonic makernotes.
// path to the jpg filestringpath=@"C:\\example.jpg";// initialize JpegFormatJpegFormatjpegFormat=newJpegFormat(path);// get makernotesvarmakernotes=jpegFormat.GetMakernotes();if(makernotes!=null){// try cast to PanasonicMakerNotesPanasonicMakerNotespanasonicMakerNotes=makernotesasPanasonicMakerNotes;if(panasonicMakerNotes!=null){// get firmware versionstringfirmwareVersion=panasonicMakerNotes.FirmwareVersion;// get image qualityint?imageQuality=panasonicMakerNotes.ImageQuality;// get lens typestringlensType=panasonicMakerNotes.LensType;}}
Xmp metadata is absent after removing EXIF geo-location
The bug related to absence of XMP metadata after removing EXIF geo-location has been resolved.
Public API changes
None
This example demonstrates how to remove EXIF geo-location.
// path to the jpg filestringpath=@"C:\\example.jpg";// initialize JpegFormatJpegFormatjpegFormat=newJpegFormat(path);// check if JPEG contains XMP metadataif(jpegFormat.HasXmp){// remove GPS locationjpegFormat.RemoveGpsLocation();// update Dublin Core format in XMPjpegFormat.XmpValues.Schemes.DublinCore.Format="image/jpeg";// and commit changesjpegFormat.Save();}
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.