XMP files

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
elfroggio
Posts: 83
Joined: Sat May 30, 2015 9:13 pm

XMP files

Post by elfroggio »

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
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XMP files

Post by xnview »

Metadata>Update or create XMP sidecar
Pierre.
elfroggio
Posts: 83
Joined: Sat May 30, 2015 9:13 pm

Re: XMP files

Post by elfroggio »

xnview wrote: Thu Oct 29, 2020 1:22 pm Metadata>Update or create XMP sidecar
Nope, either that didn't worked or I do not understand.

Image

and

Image

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
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XMP files

Post by xnview »

do you use the IPTC dialog? Please check Options tabs
Pierre.
User avatar
michel038
XnThusiast
Posts: 1468
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: XMP files

Post by michel038 »

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
elfroggio
Posts: 83
Joined: Sat May 30, 2015 9:13 pm

Re: XMP files

Post by elfroggio »

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
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.

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
User avatar
michel038
XnThusiast
Posts: 1468
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: XMP files

Post by michel038 »

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 ... :mrgreen:

You can try this method for a small set of photos ...
elfroggio
Posts: 83
Joined: Sat May 30, 2015 9:13 pm

Re: XMP files

Post by elfroggio »

Thank you
Post Reply