Python:Images
Images can have meta-data embedded. Most used is Exif[1], other formats are IPT[2] and XMP[3].
- import pyexiv2
- Module that handles all types of metadata
import pyexiv2
metadata = pyexiv2.ImageMetadata(imagefile)
metadata.read()
print(f"Metadata for {imagefile}")
for key, value in metadata.items():
print(f"{key}, {value}")