From b67f02ffecef28540bc4edf7efff631dd31d0b23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9DNyymix=E2=80=9D?= Date: Fri, 27 May 2022 19:16:23 +0300 Subject: [PATCH] Add some iptc codes --- exif.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/exif.py b/exif.py index c678c4e..ac579a5 100644 --- a/exif.py +++ b/exif.py @@ -43,6 +43,11 @@ class Exif: (2, 63): 'DigitizationTime', (2, 80): 'Byline', (2, 120): 'Caption', + (2, 90): 'City', + (2, 92): 'Sub location', + (2, 95): 'Province State', + (2, 100): 'Country Code', + (2, 101): 'Country Name', } img = IptcImagePlugin.getiptcinfo(self.img) for (key, value) in img.items():