Add some iptc codes
This commit is contained in:
parent
17ab574eb0
commit
b67f02ffec
1 changed files with 5 additions and 0 deletions
5
exif.py
5
exif.py
|
@ -43,6 +43,11 @@ class Exif:
|
||||||
(2, 63): 'DigitizationTime',
|
(2, 63): 'DigitizationTime',
|
||||||
(2, 80): 'Byline',
|
(2, 80): 'Byline',
|
||||||
(2, 120): 'Caption',
|
(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)
|
img = IptcImagePlugin.getiptcinfo(self.img)
|
||||||
for (key, value) in img.items():
|
for (key, value) in img.items():
|
||||||
|
|
Loading…
Reference in a new issue