IPTC tags

View: New views
3 Messages — Rating Filter:   Alert me  

IPTC tags

by Daehn, Werner :: Rate this Message:

| View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

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


_______________________________________________
libextractor mailing list
libextractor@...
http://lists.gnu.org/mailman/listinfo/libextractor

Re: IPTC tags

by Christian Grothoff-4 :: Rate this Message:

| View Threaded | Show Only this Message

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/


_______________________________________________
libextractor mailing list
libextractor@...
http://lists.gnu.org/mailman/listinfo/libextractor

Re: IPTC tags

by Bugzilla from ahuggel@gmx.net :: Rate this Message:

| View Threaded | Show Only this Message

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 <grothoff@...> 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/
>


_______________________________________________
libextractor mailing list
libextractor@...
http://lists.gnu.org/mailman/listinfo/libextractor

smiley1.jpg (3K) Download Attachment