Updating XMP metadata for a group of files?

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

Updating XMP metadata for a group of files?

Simon Cropper-3
Hi,

I can update metadata for individual images but is it possible to update
groups of files.

I am primarily thinking of updating keywords. For the most part a group
of images are likely to have similar if not identical keywords. Anyone
have any suggestions how I can update multiple images quickly?

Say for example I have 10 files of a particular bird. It would be great
to be able to select all the relevant files and insert the birds name
into the keyword field - ONCE.

--
Cheers Simon

    Simon Cropper - Open Content Creator

    Free and Open Source Software Workflow Guides
    ------------------------------------------------------------
    Introduction               http://www.fossworkflowguides.com
    GIS Packages           http://www.fossworkflowguides.com/gis
    bash / Python    http://www.fossworkflowguides.com/scripting
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Updating XMP metadata for a group of files?

Remco Viëtor

On Friday 10 August 2012 15:18:57 Simon Cropper wrote:

> Hi,

>

> I can update metadata for individual images but is it possible to update

> groups of files.

>

> I am primarily thinking of updating keywords. For the most part a group

> of images are likely to have similar if not identical keywords. Anyone

> have any suggestions how I can update multiple images quickly?

>

> Say for example I have 10 files of a particular bird. It would be great

> to be able to select all the relevant files and insert the birds name

> into the keyword field - ONCE.

>

 

(I assume that by 'keyword' you mean what Digikam calls 'tag')

 

I've been able to select multiple files and apply end edit tags, captions, ratings and such to all of the selected files at once (including defining a new tag) for as long as I can remember (i.e. at least since versio 2.0).

 

If that's not what you are looking for, I've no idea what you want to do...

 

Remco


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

Re: Updating XMP metadata for a group of files?

Simon Cropper-3
Hi Remco,

No I am not talking about tags.

I am talking about updating the metadata information.

If you select a file and using the menu select "Image > Metadata > Edit
all Metadata", a dialog box appears that allows you to update the data
inserted into the image header.

If you select the 'Keywords" icon in the left toolbar you are presented
with a range of keywords, or the option to add keywords. This is what I
am talking about. In general this sequence edits the metadata for one
image at a time. I am interested in updating several images at a time.


Specifically the XMP

On 10/08/12 15:51, Remco Viëtor wrote:

> On Friday 10 August 2012 15:18:57 Simon Cropper wrote:
>
>  > Hi,
>
>  >
>
>  > I can update metadata for individual images but is it possible to update
>
>  > groups of files.
>
>  >
>
>  > I am primarily thinking of updating keywords. For the most part a group
>
>  > of images are likely to have similar if not identical keywords. Anyone
>
>  > have any suggestions how I can update multiple images quickly?
>
>  >
>
>  > Say for example I have 10 files of a particular bird. It would be great
>
>  > to be able to select all the relevant files and insert the birds name
>
>  > into the keyword field - ONCE.
>
>  >
>
> (I assume that by 'keyword' you mean what Digikam calls 'tag')
>
> I've been able to select multiple files and apply end edit tags,
> captions, ratings and such to all of the selected files at once
> (including defining a new tag) for as long as I can remember (i.e. at
> least since versio 2.0).
>
> If that's not what you are looking for, I've no idea what you want to do...
>
> Remco
>
>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>


--
Cheers Simon

    Simon Cropper - Open Content Creator

    Free and Open Source Software Workflow Guides
    ------------------------------------------------------------
    Introduction               http://www.fossworkflowguides.com
    GIS Packages           http://www.fossworkflowguides.com/gis
    bash / Python    http://www.fossworkflowguides.com/scripting
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Updating XMP metadata for a group of files?

Remco Viëtor

On Friday 10 August 2012 16:01:41 Simon Cropper wrote:

> Hi Remco,

>

> No I am not talking about tags.

>

> I am talking about updating the metadata information.

>

> If you select a file and using the menu select "Image > Metadata > Edit

> all Metadata", a dialog box appears that allows you to update the data

> inserted into the image header.

>

> If you select the 'Keywords" icon in the left toolbar you are presented

> with a range of keywords, or the option to add keywords. This is what I

> am talking about. In general this sequence edits the metadata for one

> image at a time. I am interested in updating several images at a time.

>

>

> Specifically the XMP

>

That helped to understand the problem :)

 

After looking through a few of my XMP files, I can find all tags applied as

<digiKam:TagsList>

<rdf:Seq>

<rdf:li>xxx/xxx</rdf:li>

<rdf:li>xxx</rdf:li>

<rdf:li>yyy/yyy</rdf:li>

<rdf:li>yyy</rdf:li>

</rdf:Seq>

</digiKam:TagsList>

<MicrosoftPhoto:LastKeywordXMP>

<rdf:Seq>

[same list as in <digiKam:TagsList>]

</rdf:Seq>

<dc:subject>

<rdf:Bag>

<rdf:li>xxxx</rdf:li>

<rdf:li>xxx</rdf:li>

<rdf:li>xxxx</rdf:li>

<rdf:li>xxx</rdf:li>

</rdf:Bag>

</dc:subject>

</MicrosoftPhoto:LastKeywordXMP>

<lr:hierarchicalSubject>

<rdf:Bag>

[same list as in <digiKam:TagsList>]

</rdf:Bag>

</lr:hierarchicalSubject>

 

Those can be applied to a group of (RAW) images

 

However, those don't show up as IPTC or XMP metadata. I'm not even sure from what I've seen that Digikam XMPs store IPTC or XMP data entered through the metadata dialog you mentioned: after using that dialog to enter IPTC and XMP keywords, those keywords didn't show up. Worse, the Digikam tags listed above /disappeared/.

 

I got this instead:

<dc:subject>

<rdf:Bag>

<rdf:li>Test</rdf:li>

</rdf:Bag>

</dc:subject>

 

So it seems that, for RAW files at least, you'll have to decide to use either the album interface or the metadata editor, mixing both seems like a bad idea.

 

I use the following settings for metadata:

X read from sidecars

X write to sidecars

Write to XMP sidecar fro read-only images only

 

Specifically, I do not write metadata to RAW files.

 

I hope this helps

 

Remco

 

P.S. I'd like to know what is the intent behind using sidecar files in Digikam: there seems to be some counter-intuitive behaviour wrt metadata storage, leading to data apparently disappearing from the sidecar. This is not visible from the normal interface, as that uses the database, and not the sidecars.

 


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