According to the specification, EXIF (Exchangeable image file format) is a standard that specifies the formats to be used for images, sound and tags in digital still cameras and in other systems handling the image and sound files recorded by digital still cameras. Despite the confusing definition and name of the format, EXIF is just a metadata standard. In fact, it simply defines a way to store metadata properties in a variety of well-known image and audio formats. The EXIF tag structure is borrowed from TIFF files. The specification declares a set of tags intended to store technical details such as the geolocation of the place where a picture was taken, the name of the camera owner, camera settings, etc.
Note
Please refer to the following article to get more information on the standard.
Reading basic EXIF properties
To access EXIF metadata in a file of any supported format, GroupDocs.Metadata provides the IExif.getExifPackage method. The following are the steps to read EXIF metadata:
Load a file that contains EXIF metadata
Extract the EXIF metadata package using the IExif.getExifPackage method
The following code snippet gets EXIF properties of a TIFF image and displays them on the screen.
Here is a full list of tags that can be added to an EXIF package:
TiffAsciiTag
TiffByteTag
TiffDoubleTag
TiffFloatTag
TiffLongTag
TiffRationalTag
TiffSByteTag
TiffShortTag
TiffSLongTag
TiffSRationalTag
TiffSShortTag
TiffUndefinedTag
Removing EXIF metadata
To remove the EXIF package from a file just pass null to the IExif.setExifPackage method. The code sample below shows how to remove EXIF metadata from a file.