Lightroom allows to modify photo's Title and ImageDescription tags. Title is a non-conform EXIF tag, so it is saved it somewhere else, but not in the EXIF tags directly.
I want to parse image tags using Python. I tried using PIL and pyexiv2. Neither can retrieve image title from the EXIF tags, though it can be seen in Windows' File properties/details window.
I use Python 2.7.2 32bit on Windows 7 home.
Any ideas?
Strange that no-one could help, but I have figured it out by now.
JPG image information is stored in
EXIF
andIPTC
tags. Adobe Lightroom stores title and image description inIPTC.Application.Caption
&IPTC.Application.ImageDescription
tags. Adobe Photoshop stores headline and image description inIPTC.Application.Headline
&IPTC.Application.ImageDescription
respectively. These tags can be easily extracted usingpyexiv2
:See here for more info to
IPTC
tags inpyexiv2
.