Tagging JPEG creates xmp-sidecar
Moderators: XnTriq, helmut, xnview
-
- Posts: 34
- Joined: Thu Feb 27, 2014 2:55 pm
Tagging JPEG creates xmp-sidecar
Hello,
I just started to learn working with XNViewMP, and I'm impressed so far.
However, if I try to add a category to a file, XNView always creates an xmp-sidecar file. That is fine for raw files, but odd behaviour for jepg, tiff and dng, which all can hold xmp in the file itself. Did I miss to check any option?
Regards,
hic
I just started to learn working with XNViewMP, and I'm impressed so far.
However, if I try to add a category to a file, XNView always creates an xmp-sidecar file. That is fine for raw files, but odd behaviour for jepg, tiff and dng, which all can hold xmp in the file itself. Did I miss to check any option?
Regards,
hic
-
- Author of XnView
- Posts: 41883
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 34
- Joined: Thu Feb 27, 2014 2:55 pm
Re: Tagging JPEG creates xmp-sidecar
Yes, there is. If I tag a JPEG file in XNViewMP and afterwards update the file according to the database, a new xmp file shines up, containing the keywords.
Regards,
hic
Regards,
hic
-
- Author of XnView
- Posts: 41883
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Tagging JPEG creates xmp-sidecar
sorry but XnView don't create .xmp files, it use XMP metadata from jpeg files
Pierre.
-
- XnThusiast
- Posts: 1612
- Joined: Wed Aug 16, 2006 6:31 am
Re: Tagging JPEG creates xmp-sidecar
Do you use "View | Update files from database" ?hic wrote:Yes, there is. If I tag a JPEG file in XNViewMP and afterwards update the file according to the database, a new xmp file shines up, containing the keywords.
Regards,
hic
m. Th.
- Dark Themed XnViewMP 1.5 64bit on Win10 x64 -
- Dark Themed XnViewMP 1.5 64bit on Win10 x64 -
-
- Posts: 34
- Joined: Thu Feb 27, 2014 2:55 pm
Re: Tagging JPEG creates xmp-sidecar
Yes, that is exactly what I do. The Jpg is updated and a new XMP file is created along the Jpg.
Regards,
hic
Regards,
hic
-
- XnThusiast
- Posts: 1612
- Joined: Wed Aug 16, 2006 6:31 am
Re: Tagging JPEG creates xmp-sidecar
Hmmm... mhmm.... Well... I don't know. I really don't know.hic wrote:Yes, that is exactly what I do. The Jpg is updated and a new XMP file is created along the Jpg.
Regards,
hic
Perhaps you're right.
However there are on other platforms enough support cases for this. You know, "Why the metadata is saved for my CR2/NEF and not for my TIFF/JPEG?"
...but I think that the best solution is Lightroom which throws the following window at the similar action with 'View | Update files from database":
You do not have the required permissions to view the files attached to this post.
m. Th.
- Dark Themed XnViewMP 1.5 64bit on Win10 x64 -
- Dark Themed XnViewMP 1.5 64bit on Win10 x64 -
-
- Posts: 34
- Joined: Thu Feb 27, 2014 2:55 pm
Re: Tagging JPEG creates xmp-sidecar
I wonder that nobody before recognized this behaviour. My question was if that is intended, I now know it is not
How do others assure that the metadata of the database and the files are synchronized?
Lightroom does indeed write metadate to files, if files are writable, and to XMP if they are not writable. But in the first case (e.g. Jpg) it doesn't create an additional XMP.
Regards,
hic

How do others assure that the metadata of the database and the files are synchronized?
Lightroom does indeed write metadate to files, if files are writable, and to XMP if they are not writable. But in the first case (e.g. Jpg) it doesn't create an additional XMP.
Regards,
hic
-
- XnThusiast
- Posts: 2005
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
Re: Tagging JPEG creates xmp-sidecar
... For the integrity of files (jpg, tiff, ect), XnView(MP) do no touch the original files by default, even the metadata (it's more secure)....How do others assure that the metadata of the database and the files are synchronized?...
... But if you want, you can synchronize db to file by checking "all export ..." and "write comment" here:(I have not tested since a long time

Settings\Metadata\IPTC & XMP \
Keywords
x Export DB Category to XMP subject and IPTC keyword
x Export rating in XMP metadata
x Export color label in XMP metadata
Comment
x Write comment in XMP (dcdescription and exifrusercomment)
XnViewMP Linux X64 - Debian - X64
-
- Author of XnView
- Posts: 41883
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Tagging JPEG creates xmp-sidecar
Oh ok, with 'Update files from database', .xmp files are always created. Perhaps an option here??hic wrote:Yes, that is exactly what I do. The Jpg is updated and a new XMP file is created along the Jpg.
Pierre.
-
- XnThusiast
- Posts: 1612
- Joined: Wed Aug 16, 2006 6:31 am
Re: Tagging JPEG creates xmp-sidecar
Yes. As I/the others wrote many times here, we need a fine-grained XMP engine. See also here:xnview wrote:Oh ok, with 'Update files from database', .xmp files are always created. Perhaps an option here??hic wrote:Yes, that is exactly what I do. The Jpg is updated and a new XMP file is created along the Jpg.
http://newsgroup.xnview.com/viewtopic.p ... 15#p117771
Fortunately it is easy to do.
Add the two checkboxes from above and for the topic here I'd suggest another checkbox saying "Embed the XMP data in image files, where possible"
m. Th.
- Dark Themed XnViewMP 1.5 64bit on Win10 x64 -
- Dark Themed XnViewMP 1.5 64bit on Win10 x64 -
-
- Author of XnView
- Posts: 41883
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Tagging JPEG creates xmp-sidecar
So 'Export keywords in XMP metadata when possible' as an option for 'Update files from database' or for global XMP engine?m.Th. wrote:Yes. As I/the others wrote many times here, we need a fine-grained XMP engine. See also here:xnview wrote:Oh ok, with 'Update files from database', .xmp files are always created. Perhaps an option here??hic wrote:Yes, that is exactly what I do. The Jpg is updated and a new XMP file is created along the Jpg.
Currenlty we have Metadata>Export category to XMP/IPTC
Pierre.
-
- XnThusiast
- Posts: 2005
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
Re: Tagging JPEG creates xmp-sidecar
... NO ( or not by default ... because, by default, it is too dangerous for the integrity of the users files)xnview wrote:So 'Export keywords in XMP metadata when possible' as an option for 'Update files from database' or for global XMP engine?m.Th. wrote:Yes. As I/the others wrote many times here, we need a fine-grained XMP engine. See also here:xnview wrote:...Oh ok, with 'Update files from database', .xmp files are always created. Perhaps an option here??
Currenlty we have Metadata>Export category to XMP/IPTC
... The default behavior of XnView (and others softs) must be (for the integrity of the users data) ... "do not touch the originals users files/pictures by default". ... And in fact, it will be interesting to have this single option checked into settings by default :"Do not touch the originals users files/pictures" ... instead to have a lot of options to allow to write into the users files/pictures embedded metadata.
... So for me it's important to have an option ( preserve user file integrity into Tools\Settings\...)
... And all exceptions/options to this rule should be in the same setting location, so here : Metadata>Export category to XMP/IPTC
XnViewMP Linux X64 - Debian - X64
-
- XnThusiast
- Posts: 1612
- Joined: Wed Aug 16, 2006 6:31 am
Re: Tagging JPEG creates xmp-sidecar
Wait, wait, wait...
While I fully agree with "don't touch my originals" policy by default, I think that we should take a global approach in consolidating the settings of I/O metadata engine. AFAIS now is an easy programming work but we must be attentive at GUI.
I'll prepare a document for this...
While I fully agree with "don't touch my originals" policy by default, I think that we should take a global approach in consolidating the settings of I/O metadata engine. AFAIS now is an easy programming work but we must be attentive at GUI.
I'll prepare a document for this...
m. Th.
- Dark Themed XnViewMP 1.5 64bit on Win10 x64 -
- Dark Themed XnViewMP 1.5 64bit on Win10 x64 -
-
- Posts: 308
- Joined: Wed Aug 01, 2007 1:28 pm
- Location: Australia
Re: Tagging JPEG creates xmp-sidecar
In my workflow, I make a big distinction between image data and metadata. Storing image transformation instructions rather than burning them in is always a good idea, but this has to apply to the raw image, rather than a jpeg. To me, a jpeg is never "the original".oops66 wrote:... The default behavior of XnView (and others softs) must be (for the integrity of the users data) ... "do not touch the originals users files/pictures by default". ..... instead to have a lot of options to allow to write into the users files/pictures embedded metadata.
My aim is for maximum interoperability between software packages, and to my mind that means I have no option but to embed the metadata within the jpeg image whenever possible.
The last thing I want is to have to tick numerous options to turn that on, so if there is a single option then it should switch between:
Metadata: use sidecar files whenever possible, or
Metadata: embed within image file whenever possible.
With the list of override options, I can imagine a potential nightmare of situations brought about by: "When I write metadata X to image files of type Y then software Z does not read it, so I'll need to write that one the other way around".