I have canon CR2 and fuji RAF raw images.
Which setting do I need to set to write the IPTC to an XMP associated with the raw file but not modify the original raw file?
Thank you
XMP files
Moderators: helmut, XnTriq, xnview
Re: XMP files
Nope, either that didn't worked or I do not understand.

and

I have tried both: filename.xmp and filename.extension.xmp. Same.
Xnviewmp modifies the actual raw file and does not create the xmp file.
Am I missing something?
Thank you
Re: XMP files
Two ways for tagging :
1) Edit Iptc/xmp
You can add captions, titles, keywords, location, country etc ... but only in embedded metadata with current version (in files types which accept embedded)
Settings are located in last tab, options.
2) Using categories
You can add only keywords (= categories) . Settings are located in Settings, metadata .
Here you can choose embedded and / or XMP companion file
3) Stars (ratings) and color labels can only be used as XMP metadata, embedded or XMP companion file, depending on "Settings, Metadata"
So you can't actually write captions in XMP companion files .
I think I saw a recent Post where the author thinks about adding a setting in "Edit IPTC/XMP" window, in order to create a companion file ...
viewtopic.php?f=82&t=41111
1) Edit Iptc/xmp
You can add captions, titles, keywords, location, country etc ... but only in embedded metadata with current version (in files types which accept embedded)
Settings are located in last tab, options.
2) Using categories
You can add only keywords (= categories) . Settings are located in Settings, metadata .
Here you can choose embedded and / or XMP companion file
3) Stars (ratings) and color labels can only be used as XMP metadata, embedded or XMP companion file, depending on "Settings, Metadata"
So you can't actually write captions in XMP companion files .
I think I saw a recent Post where the author thinks about adding a setting in "Edit IPTC/XMP" window, in order to create a companion file ...
viewtopic.php?f=82&t=41111
Catalogage avec XnviewMP :
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
Re: XMP files
Thank you. Now it's clear for when it works and when it doesn't. Yes, I was adding captions through the edit iptc/xmp window.michel038 wrote: Tue Nov 10, 2020 2:12 pm Two ways for tagging :
1) Edit Iptc/xmp
You can add captions, titles, keywords, location, country etc ... but only in embedded metadata with current version (in files types which accept embedded)
Settings are located in last tab, options.
2) Using categories
You can add only keywords (= categories) . Settings are located in Settings, metadata .
Here you can choose embedded and / or XMP companion file
3) Stars (ratings) and color labels can only be used as XMP metadata, embedded or XMP companion file, depending on "Settings, Metadata"
So you can't actually write captions in XMP companion files .
I think I saw a recent Post where the author thinks about adding a setting in "Edit IPTC/XMP" window, in order to create a companion file ...
viewtopic.php?f=82&t=41111
Since this will be fixed in the next release. Is there a way of:
1. Use the IPTC/XMP window to enter the data but not write the xmp and not modify the image (just store the data in xnview)
2. With the next release, highlight the images and then export the XMPs?
Thank you
Re: XMP files
I can't see a simple method.
XnViewMP database does not contain captions, titles ... but only keywords, ratings, color labels, and some file informations.
If I had to do this , I would
1) copy (or convert into jpg) my photos to a temporary folder . Reduce size of jpg's if necessary at the same time (Tools, batch convert)
2) In this folder , I'll add embedded xmp metadata, with edit iptc/xmp window, and keywords as well with "categories" feature ( settings : export DB to xmp and not sidecar ) because categories is a convenient tool to add embedded hierarchical keywords.
3) Then, I'll create a "open with" function, where exiftool will copy all embedded xmp metadata into xmp sidecar files (param = -o %d%f.xmp -xmp -k )
4) Copy all xmp files into the original place of photos ...
You can try this method for a small set of photos ...
XnViewMP database does not contain captions, titles ... but only keywords, ratings, color labels, and some file informations.
If I had to do this , I would
1) copy (or convert into jpg) my photos to a temporary folder . Reduce size of jpg's if necessary at the same time (Tools, batch convert)
2) In this folder , I'll add embedded xmp metadata, with edit iptc/xmp window, and keywords as well with "categories" feature ( settings : export DB to xmp and not sidecar ) because categories is a convenient tool to add embedded hierarchical keywords.
3) Then, I'll create a "open with" function, where exiftool will copy all embedded xmp metadata into xmp sidecar files (param = -o %d%f.xmp -xmp -k )
4) Copy all xmp files into the original place of photos ...

You can try this method for a small set of photos ...
Catalogage avec XnviewMP :
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm