Returns an image file’s Exchangeable image file format (EXIF) metadata, including XMP format.
An image file can contain any number of EXIF properties. This method returned a selected set of EXIF properties stored under the EXIF tag. It also returns additional properties stored in XMP (Extensible Metadata Platform) format if available in the image file.
The image file path that contains geotagged EXIF properties.
(The default value is None)
The output metadata.
Longitude and latitude will be in decimal degrees, and altitude will be in the unit defined in the image EXIF.
Longitude, latitude, and elevation will be returned in the first three index positions of the list. EXIF properties will be returned in the next position as a dictionary, using the following EXIF tags as keys.
The EXIF properties are returned in XMP format.
If no valid EXIF properties information is found, the function returns None.
Return EXIF properties from JPEG image.
Return EXIF properties from a JPEG image.
import arcpy # Get exif metadata in JSON format from image arcpy.GetImageEXIFProperties(r"c:/droneimages/Picture044.jpg")