Hello,
Where does XnView MP store the metadata information? Are metadata embedded in the JPG files themselves? or, is there a catalog file/database (as in Lightrooom) that holds all the information and that can be exported and re-imported if needed after a fresh Linux or XnView install?
Thank you,
Zoltan
Where does XnView store metadata information?
Moderators: helmut, XnTriq, xnview
Re: Where does XnView store metadata information?
Metadata that can be stored in a file can be viewed and edited in the browser Tools > Metadata.zoltankr wrote: Sun May 23, 2021 10:02 am Where does XnView MP store the metadata information? Are metadata embedded in the JPG files themselves? or, is there a catalog file/database (as in Lightrooom) that holds all the information and that can be exported and re-imported if needed after a fresh Linux or XnView install?
The location of other metadata (if that is the correct term, I'm not a metadata user myself...

Re: Where does XnView store metadata information?
XnViewMP can write embedded Iptc and xmp metadata in files that support these features. For raw files, one must use sidecar xmp companion files.
When using "Categories" tool to enter keywords, see export options in Settings, Metadata screen. If no options are enabled, keywords (and ratings) will be stored only in the databaae ( the catalog =xnview.db file) .
For other metadata (captions, places, rights...), the catalog is not used, (so we must use embedded or sidecar metadata)
Settings are in another place (except for sidecar).
Open "Edit iptc" or "Edit xmp" window, and choose "Mode" in the last tab.
When using "Categories" tool to enter keywords, see export options in Settings, Metadata screen. If no options are enabled, keywords (and ratings) will be stored only in the databaae ( the catalog =xnview.db file) .
For other metadata (captions, places, rights...), the catalog is not used, (so we must use embedded or sidecar metadata)
Settings are in another place (except for sidecar).
Open "Edit iptc" or "Edit xmp" window, and choose "Mode" in the last tab.
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: Where does XnView store metadata information?
Thank you for your support. Does the quality of a JPEG file deteriorate if I embeed metadata in it with XnView?
Re: Where does XnView store metadata information?
I'm almost sure that no, when photos are selected in the browser.Does the quality of a JPEG file deteriorate if I embeed metadata in it with XnView?
(But not sure when a photo is opened in a tab, and when saving it by switching to the next one.)
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: Where does XnView store metadata information?
Thank you michel038 for the extra information.
When a JPEG image is open in a tab, switching to an image open in another tab shouldn't result in the first image being resaved.
If the JPEG has been edited since opening it, the changes will be lost unless the file is resaved, but with the default program settings there will be a suitable warning displayed.

When a JPEG image is open in a tab, switching to an image open in another tab shouldn't result in the first image being resaved.
If the JPEG has been edited since opening it, the changes will be lost unless the file is resaved, but with the default program settings there will be a suitable warning displayed.