Batch append keywords to XMP/IPTC

*** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

kmcbest
Posts: 9
Joined: Mon Dec 23, 2024 11:17 am

Batch append keywords to XMP/IPTC

Post by kmcbest »

I've been experiencing with the batch processing of images using XnView MP. For the moment I can select a bunch of images and go to Edit IPTC/XMP and input a keyword like "key1" into the textbox under "keyword" and click "write to all files" and all the images will have "key1" in their metadata. However, if I repeat the same process to add another "key2" to these files, the "key1" info will be overwritten, unless I add "key2" then "key1" again. This means every time I do this, it's an overwrite and not an appending. What I want is that I don't need to know what's already in the metadata, I just input the keywords I want to add, and they're appended to the files (not adding the same ones if they already exist, of course).

Is it possible?

--Edit
I figured it out. Instead of editing IPTC/XMP, just choose "edit IPTC". Then in the last tab "options", tick all three checkboxes (the first being "keep existing, append new")
User avatar
xnview
Author of XnView
Posts: 45351
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Batch append keywords to XMP/IPTC

Post by xnview »

you have same settings in 'Edit XMP'
Pierre.
kmcbest
Posts: 9
Joined: Mon Dec 23, 2024 11:17 am

Re: Batch append keywords to XMP/IPTC

Post by kmcbest »

xnview wrote: Mon Dec 30, 2024 7:54 am you have same settings in 'Edit XMP'
I saw them, but they didn't work. Even if I checked them, the metadata is overwritten instead of appended.

"Edit IPTC" works.
User avatar
xnview
Author of XnView
Posts: 45351
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Batch append keywords to XMP/IPTC

Post by xnview »

See issue for current status and some details.
Pierre.
kmcbest
Posts: 9
Joined: Mon Dec 23, 2024 11:17 am

Re: Batch append keywords to XMP/IPTC

Post by kmcbest »

Great, thank you!
User avatar
xnview
Author of XnView
Posts: 45351
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Batch append keywords to XMP/IPTC

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.8.4. Please check and confirm the bug fix here.
Pierre.
kmcbest
Posts: 9
Joined: Mon Dec 23, 2024 11:17 am

Re: Batch append keywords to XMP/IPTC

Post by kmcbest »

I updated to 1.8.4 and tested, still the problem exists. I've done a recording, hope this helps to better look at the issue.
https://drive.google.com/file/d/1UsDFbi ... sp=sharing
User avatar
xnview
Author of XnView
Posts: 45351
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Batch append keywords to XMP/IPTC

Post by xnview »

do you have change Options tab?
Pierre.