digikam does not read all xmp metadata

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

digikam does not read all xmp metadata

Jan Köster
Hi all,

I've just tried digikam 2.6.0 and wanted to know if it can read
xmp-metadata. Unfortunatly it only works partly.
Metadata in the exif, dc and iptc format are read (like GPS,
IPTC-Location, description etc.)
Metadata in the xmp and lightroom namespace are not read, like rating
and - most important-  keywords (hierachicalSubject).
I've ticked the "read sidecar' in the settings. Is there anything else I
have to do to be able to access my metadata from other applications
(stored in xmp-sidecar files) or is this a bug?

Thanks for your help!

Jan

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: digikam does not read all xmp metadata

tosca
XMP sidecar files are specific to each application. There is no way one can read the .xmp file written by another program.

Marie-Noëlle

2012/6/11 Jan Köster <[hidden email]>
Hi all,

I've just tried digikam 2.6.0 and wanted to know if it can read
xmp-metadata. Unfortunatly it only works partly.
Metadata in the exif, dc and iptc format are read (like GPS,
IPTC-Location, description etc.)
Metadata in the xmp and lightroom namespace are not read, like rating
and - most important-  keywords (hierachicalSubject).
I've ticked the "read sidecar' in the settings. Is there anything else I
have to do to be able to access my metadata from other applications
(stored in xmp-sidecar files) or is this a bug?

Thanks for your help!

Jan

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users



--


Mes dernières photos sont dans ma galerie.
Retrouvez-moi aussi sur mon blog.
Et parcourez les Cévennes à ma façon avec Cévennes Plurielles,


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: digikam does not read all xmp metadata

Jan Köster
Am Montag, den 11.06.2012, 17:43 +0200 schrieb Marie-Noëlle Augendre:
> XMP sidecar files are specific to each application. There is no way
> one can read the .xmp file written by another program.
>
> Marie-Noëlle

Well yes. But as far as I've understood that's the reason why there are
namespaces. And Bibble5, Corel Aftershot, Adobe Lightroom and Adobe
Bridge can understand these files. I'm not talking about information on
editing. It's totally clear that this will not work. But it should be
possible to read keywords, shouldn't it?

>
> 2012/6/11 Jan Köster <[hidden email]>
>         Hi all,
>        
>         I've just tried digikam 2.6.0 and wanted to know if it can
>         read
>         xmp-metadata. Unfortunatly it only works partly.
>         Metadata in the exif, dc and iptc format are read (like GPS,
>         IPTC-Location, description etc.)
>         Metadata in the xmp and lightroom namespace are not read, like
>         rating
>         and - most important-  keywords (hierachicalSubject).
>         I've ticked the "read sidecar' in the settings. Is there
>         anything else I
>         have to do to be able to access my metadata from other
>         applications
>         (stored in xmp-sidecar files) or is this a bug?
>        
>         Thanks for your help!
>        
>         Jan
>        
>         _______________________________________________
>         Digikam-users mailing list
>         [hidden email]
>         https://mail.kde.org/mailman/listinfo/digikam-users
>
>
>
> --
>
>
> Mes dernières photos sont dans ma galerie.
> Retrouvez-moi aussi sur mon blog.
> Et parcourez les Cévennes à ma façon avec Cévennes Plurielles,
>



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: digikam does not read all xmp metadata

Jan Köster
Am Montag, den 11.06.2012, 18:17 +0200 schrieb Jan Köster:

> Am Montag, den 11.06.2012, 17:43 +0200 schrieb Marie-Noëlle Augendre:
> > XMP sidecar files are specific to each application. There is no way
> > one can read the .xmp file written by another program.
> >
> > Marie-Noëlle
>
> Well yes. But as far as I've understood that's the reason why there are
> namespaces. And Bibble5, Corel Aftershot, Adobe Lightroom and Adobe
> Bridge can understand these files. I'm not talking about information on
> editing. It's totally clear that this will not work. But it should be
> possible to read keywords, shouldn't it?

I just did a test how digikam is writing metadata to xmp-sidecar files.
Besides other formats keywords/tags are stored in the lightroom syntax.
So digikam can write metadata in "lightroom-style" but not read it? This
doesn't make sense to me.

>
> >
> > 2012/6/11 Jan Köster <[hidden email]>
> >         Hi all,
> >        
> >         I've just tried digikam 2.6.0 and wanted to know if it can
> >         read
> >         xmp-metadata. Unfortunatly it only works partly.
> >         Metadata in the exif, dc and iptc format are read (like GPS,
> >         IPTC-Location, description etc.)
> >         Metadata in the xmp and lightroom namespace are not read, like
> >         rating
> >         and - most important-  keywords (hierachicalSubject).
> >         I've ticked the "read sidecar' in the settings. Is there
> >         anything else I
> >         have to do to be able to access my metadata from other
> >         applications
> >         (stored in xmp-sidecar files) or is this a bug?
> >        
> >         Thanks for your help!
> >        
> >         Jan
> >        
> >         _______________________________________________
> >         Digikam-users mailing list
> >         [hidden email]
> >         https://mail.kde.org/mailman/listinfo/digikam-users
> >
> >
> >
> > --
> >
> >
> > Mes dernières photos sont dans ma galerie.
> > Retrouvez-moi aussi sur mon blog.
> > Et parcourez les Cévennes à ma façon avec Cévennes Plurielles,
> >
>
>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: digikam does not read all xmp metadata

Gilles Caulier-4
2012/6/11 Jan Köster <[hidden email]>:

> Am Montag, den 11.06.2012, 18:17 +0200 schrieb Jan Köster:
>> Am Montag, den 11.06.2012, 17:43 +0200 schrieb Marie-Noëlle Augendre:
>> > XMP sidecar files are specific to each application. There is no way
>> > one can read the .xmp file written by another program.
>> >
>> > Marie-Noëlle
>>
>> Well yes. But as far as I've understood that's the reason why there are
>> namespaces. And Bibble5, Corel Aftershot, Adobe Lightroom and Adobe
>> Bridge can understand these files. I'm not talking about information on
>> editing. It's totally clear that this will not work. But it should be
>> possible to read keywords, shouldn't it?
>
> I just did a test how digikam is writing metadata to xmp-sidecar files.
> Besides other formats keywords/tags are stored in the lightroom syntax.
> So digikam can write metadata in "lightroom-style" but not read it? This
> doesn't make sense to me.

Ahaha. welcome in interroperability world with closed source program.

I implemented LR tags support (reading and writing). The proof :

READ :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/dmetadata/dmetadata.cpp#L1138

WRITE :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/dmetadata/dmetadata.cpp#L1208

If LR has changed something in XMP tags naming, well, how to know...
It's closed source after all...

Gilles Caulier
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: digikam does not read all xmp metadata

Jan Köster
Am Montag, den 11.06.2012, 23:43 +0200 schrieb Gilles Caulier:

> Ahaha. welcome in interroperability world with closed source program.
>
> I implemented LR tags support (reading and writing). The proof :
>
> READ :
>
> https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/dmetadata/dmetadata.cpp#L1138
>
> WRITE :
>
> https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/dmetadata/dmetadata.cpp#L1208
>
> If LR has changed something in XMP tags naming, well, how to know...
> It's closed source after all...
>
I know these problems only to well. However: the tags have been written
by Bibble5 which definitly didn't change the way of writing tags over
the last years. As an example, this is a nested tag stored in
filename.NEF.xmp:
<lr:hierachicalSubject>
  <rdf:Bag>
    <rdf:li>Eigenschaften|Ausrichtung|Hochformat</rdf:li>
  </rdf:Bag>
</<lr:hierachicalSubject>
And this is how digikam stores the same tag given in dk:
<digiKam:TagsList>
    <rdf:Seq>
     <rdf:li>Eigenschaften/Ausrichtung/Hochformat</rdf:li>
    </rdf:Seq>
   </digiKam:TagsList>
[...] and also:
   <lr:hierarchicalSubject>
    <rdf:Bag>
     <rdf:li>Eigenschaften|Ausrichtung|Hochformat</rdf:li>
    </rdf:Bag>
   </lr:hierarchicalSubject>

This looks pretty much the same to me.
Both are stored within <rdf:Description> only the file headers are a
little different. But I don't think this causes the problem as digikam
can read other information from these files.
Before I start writing a script that transforms all the xmp files so
digikam can manage the metadata I would like to investigate if this
behaviour is normal and intended. Just how?

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users