[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libextractor] IPTC tags
From: |
Andreas Huggel |
Subject: |
Re: [libextractor] IPTC tags |
Date: |
Mon, 7 Dec 2009 02:00:55 +0800 |
Hi Christian,
The attached picture has IPTC keywords:
Iptc.Application2.Caption String 38 yelimS
green faced dude (iptc caption)
Iptc.Application2.Writer String 6 Nobody
Iptc.Application2.Byline String 6 Its me
Iptc.Application2.ObjectName String 10 GreeenDude
Iptc.Application2.DateCreated Date 8 2004-07-13
Iptc.Application2.City String 7 Seattle
Iptc.Application2.ProvinceState String 2 WA
Iptc.Application2.CountryName String 3 USA
Iptc.Application2.Category String 6 Things
Iptc.Application2.Keywords String 5 Green
Iptc.Application2.Keywords String 6 Smiley
Iptc.Application2.Keywords String 4 Dude
Happy hacking!
Andreas
On Fri, Dec 4, 2009 at 19:24, Christian Grothoff <address@hidden> wrote:
> Hi!
>
> I'm not sure this is obvious. LE doesn't do this right now, I suspect that
> what it'll take is adding a line like:
>
> result = addExiv2Tag(exifData,
> "IPTC.Application2.Keywords",
> EXTRACTOR_KEYWORDS,
> result);
>
> to exiv2extractor.cc. If you could provide me with a file for testing, I'll
> be
> happy to try to make this change.
>
> Thanks!
>
> Christian
>
> On Thursday 03 December 2009 10:18:27 Daehn, Werner wrote:
>> Sorry for asking something so obvious - as I assume - but is it possible to
>> get IPTC tags with libextractor?
>>
>> Using exiv2 directly with the options "exiv2 -p -i file.jpeg" shows me
>> what I am looking for, the IPTC.Application2.Keywords tag used by various
>> GUI tools. (I am not talking about exif.Keywords, that's empty)
>>
>> Once this is possible, I can use an import.js script in mediatomb to see
>> all my images on the UPNP clients categorized, e.g. Spain, Vacation,
>> Family, Rating=***** etc.
>>
>> My current investigation seems to indicate the list of possibly returned
>> keywords by extract or libextractor is fixed, not controlled by the exiv2
>> library??
>>
>> Thanks,
>>
>> Werner
>>
>
> --
> http://grothoff.org/christian/
>
smiley1.jpg
Description: JPEG image