Bonjour,
Les métadonnées concernant les prises de vues numériques s'appellent des EXIF (Plus d'infos voir ==> Wikipedia)
Personnellemnet j'utilise la bibliothèque "EXIF.py" qui peut être téléchargée içi ==> Sourceforge
Voici un exemple d'utilisation:
# -*- coding: ISO-8859-15 -*-
import EXIF
path_name = "D:\\Photos\\IMG_5233_.JPG"
f = open(path_name, 'rb')
try:
tags = EXIF.process_file(f)
f.close()
lst_exif = ("MakerNote ImageType", #Text
"EXIF ApertureValue", #rational
"EXIF DateTimeOriginal", #text
"EXIF ExposureBiasValue", #srational
"EXIF ExposureTime", #rational
"EXIF FNumber",
"EXIF Flash",
"EXIF ISOSpeedRatings",
"EXIF FocalLength",
"MakerNote SubjectDistance")
for tag in lst_exif:
print "%s %s" % (tag,tags.get(tag))
except:print "erreur EXIF.process",path_name
Cordialement