Add some iptc codes

This commit is contained in:
Nyymix 2022-05-27 19:16:23 +03:00
parent 17ab574eb0
commit b67f02ffec

View file

@ -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():