📅  最后修改于: 2022-03-11 14:45:11.859000             🧑  作者: Mango
from PIL import Image, ExifTags
img = Image.open("/path/to/file.jpg")
exif = { ExifTags.TAGS[k]: v for k, v in img._getexif().items() if k in ExifTags.TAGS }