[Gexiv2] Extract all keywords from image Python GExiv2
- From: Jason Moore <moorepants gmail com>
- To: gexiv2 lists yorba org
- Subject: [Gexiv2] Extract all keywords from image Python GExiv2
- Date: Sun, 18 Aug 2013 15:56:24 -0400
Hi,
I'm using the python wrapper for GExiv2 and want to extract all keywords
from an image.
metadata = GExiv2.Metadata('p1090380.jpg')
metadata.get_iptc_tags()
['Iptc.Application2.Keywords',
'Iptc.Application2.Keywords',
'Iptc.Application2.Keywords',
'Iptc.Application2.Keywords',
'Iptc.Application2.Keywords',
'Iptc.Application2.Program',
'Iptc.Application2.ProgramVersion']
metadata['Iptc.Application2.Keywords']
'first keyword'
It is not clear to me how to access the other keywords since they all seem
to have the same iptc tag name.
Jason
moorepants.info
+01 530-601-9791
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]