Hello Everyone,
Finally I'm switching from Lightroom to another RAW Converter and would like to use XNView MP as a DAM.
So far so good - I wrote XMP Files to my Pictures in Lightroom and ratings an keywords appear correct, but not the Color lables.
I can see them in the XMP as e.g. "Lable: rot" but XNView shows under "Color lable" "Ohne Farbkennzeichnung"
(Sorry I'm from Germany)
Can you help me? I worked a lot with Colors to mark already edited pictures etc.
Best
ruebyi
Making the switch
Moderators: XnTriq, helmut, xnview
-
- XnThusiast
- Posts: 1443
- Joined: Tue Sep 27, 2016 8:18 am
- Location: France
Re: Making the switch
What do you mean by
Where is this display ?
In Tools, settings, (Browser) , Thumbnail, Overlay icons, did you check "rating", "Color labels" ?
----------Einstellungen, ----------Miniaturbild, Info-Symbole -------------------Farbenzeichnung --- ?
XNView shows under "Color lable" ?
Where is this display ?
In Tools, settings, (Browser) , Thumbnail, Overlay icons, did you check "rating", "Color labels" ?
----------Einstellungen, ----------Miniaturbild, Info-Symbole -------------------Farbenzeichnung --- ?
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
-
- Posts: 48
- Joined: Thu Nov 22, 2018 9:28 pm
Re: Making the switch
Hi thanks for your reply!
I made two Screenshots from the Infoscreen of one picture.
Hope this makes my problem visible?
I made two Screenshots from the Infoscreen of one picture.
Hope this makes my problem visible?
You do not have the required permissions to view the files attached to this post.
-
- XnThusiast
- Posts: 1443
- Joined: Tue Sep 27, 2016 8:18 am
- Location: France
Re: Making the switch
XMP color label was written by Lightroom. ok.
The field you are showing in the 2nd screen (File group) shows Xnviemp database content; this database allows searches and filters.
To create or update database, select images and click "update catalog from files" in "view" menu.
But before, you must choose your import options in settings, metadata ...
...
If you want to select all files in subdirectories, right clic on the parent directory and select "see all files, recursive") or use the button located near settings
(French version
)

The field you are showing in the 2nd screen (File group) shows Xnviemp database content; this database allows searches and filters.
To create or update database, select images and click "update catalog from files" in "view" menu.
But before, you must choose your import options in settings, metadata ...
...
If you want to select all files in subdirectories, right clic on the parent directory and select "see all files, recursive") or use the button located near settings
(French version


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
-
- Posts: 48
- Joined: Thu Nov 22, 2018 9:28 pm
Re: Making the switch
Thank you for your suggestion!
I just tried to do so, but nothing changed... Ratings are shown, lables not.
I just tried to do so, but nothing changed... Ratings are shown, lables not.
-
- XnThusiast
- Posts: 1443
- Joined: Tue Sep 27, 2016 8:18 am
- Location: France
Re: Making the switch
Try this :
Go to settings: Metadata->IPTC & XMP and enable the second option "Export DB category to xmp ..."
add "Create XMP data" and "Export color label in XMP metadata" marks
Select a picture and give it a color label.
Check your Info properties : you must see color label in file properties AND xmp metadata.
Then
Go to settings: Metadata->IPTC & XMP and remove the second option "Export DB category to xmp ..."
unmark also "Create XMP data" and "Export color label in XMP metadata"
- Remove color label to this picture
Now, the color label does not exist anymore in File properties (removed from database), but without modifying XMP metadata, it still exists there.
That is the situation you encountered.
To repair :
Go to settings: Metadata->IPTC & XMP, Tick the first option "Import XMP subject ...to DB categories"
Select the picture
Go to View menu and click "Update catalog from files" : Database will be updated with xmp metadata ... I hope
Go to settings: Metadata->IPTC & XMP and enable the second option "Export DB category to xmp ..."
add "Create XMP data" and "Export color label in XMP metadata" marks
Select a picture and give it a color label.
Check your Info properties : you must see color label in file properties AND xmp metadata.
Then
Go to settings: Metadata->IPTC & XMP and remove the second option "Export DB category to xmp ..."
unmark also "Create XMP data" and "Export color label in XMP metadata"
- Remove color label to this picture
Now, the color label does not exist anymore in File properties (removed from database), but without modifying XMP metadata, it still exists there.
That is the situation you encountered.
To repair :
Go to settings: Metadata->IPTC & XMP, Tick the first option "Import XMP subject ...to DB categories"
Select the picture
Go to View menu and click "Update catalog from files" : Database will be updated with xmp metadata ... I hope
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
-
- Posts: 48
- Joined: Thu Nov 22, 2018 9:28 pm
Re: Making the switch
Hmm, this still didn't work..
could there be a problem with the language?
If I set the lable in XNView to "green" it writes "green" to the XMP.
The "green" Lightroom Lable is called "Grün" in the XMP file
Btw. After Changing the color Lable the XMP file is deleted and I have to rebuild it via "Update catalog from files".
could there be a problem with the language?
If I set the lable in XNView to "green" it writes "green" to the XMP.
The "green" Lightroom Lable is called "Grün" in the XMP file
Btw. After Changing the color Lable the XMP file is deleted and I have to rebuild it via "Update catalog from files".
-
- XnThusiast
- Posts: 1443
- Joined: Tue Sep 27, 2016 8:18 am
- Location: France
Re: Making the switch
You are right
I believed xmp color label was coded like other metadata (like star rating, with a number).
But no, it's only a "string", so you can write xmp:label=Churchill if you want !
It would have been more efficient to choose a numerical value (see Digikam link below)
I don't know if xnviewMp can read german color label when german language is enabled... and so on for other languages. I think it's not possible.
I'm going to create a new post to ask this to Xnviewmp author
(viewtopic.php?f=60&t=38191)
I'm using french or english version, and it works (only ?) with english names for colors.
Xnviemp GUI is able to translate colors for display only (settings, metadata, labels) , it's not useful for now.
I found these pages that are talking about this problem :
https://www.fastrawviewer.com/node/395
https://www.photools.com/3628/consolida ... or-labels/
http://www.exiv2.org/tags-xmp-digiKam.html
I can help for using exiftool, if you want to translate xmp label ...
I believed xmp color label was coded like other metadata (like star rating, with a number).
But no, it's only a "string", so you can write xmp:label=Churchill if you want !
It would have been more efficient to choose a numerical value (see Digikam link below)
I don't know if xnviewMp can read german color label when german language is enabled... and so on for other languages. I think it's not possible.
I'm going to create a new post to ask this to Xnviewmp author
(viewtopic.php?f=60&t=38191)
I'm using french or english version, and it works (only ?) with english names for colors.
Xnviemp GUI is able to translate colors for display only (settings, metadata, labels) , it's not useful for now.
I found these pages that are talking about this problem :
https://www.fastrawviewer.com/node/395
https://www.photools.com/3628/consolida ... or-labels/
http://www.exiv2.org/tags-xmp-digiKam.html
I can help for using exiftool, if you want to translate xmp label ...
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
-
- Posts: 48
- Joined: Thu Nov 22, 2018 9:28 pm
Re: Making the switch
OK, thank you!
Obviously Lightroom recognizes your language and writes and recognizes "Grün" instead of "green" - XNView is not able to do this.
Could you help me with the Exiftool so I can change all of my xmps?
it looks like my XMPs are missing since I tried your suggestions... Shouldn't Build new ones?
Obviously Lightroom recognizes your language and writes and recognizes "Grün" instead of "green" - XNView is not able to do this.
Could you help me with the Exiftool so I can change all of my xmps?
it looks like my XMPs are missing since I tried your suggestions... Shouldn't Build new ones?
-
- XnThusiast
- Posts: 1443
- Joined: Tue Sep 27, 2016 8:18 am
- Location: France
Re: Making the switch
First attempt with exiftool through XnViewMP (Windows)
- Select a picture, right click (secondary click on Mac OS) , "Open with", "Configure programs" ...
- Click Add button, browse your Hdd, find your xnviewmp installation directory, then "AddOn" directory, select exiftool and click "Open" button.
- A new line is added in the table. Edit content of first column (double click) and choose a name ... ex : Green
- Edit 2nd column and enter exiftool arguments : -k -m -if "$xmp:label eq 'Grün'" -xmp:label=Green
ok
For Mac OS, I think the right arguments for Exiftool are : -k -m -if '$xmp:label eq "Grün"' -xmp:label=Green
(with double quote around the word "Grün" and simple quote around the whole IF command )
-Try on a test image
- I didn't try this on XMP sidecar files ...
This function replaces Grün by Green in selected photos.
Maybe a function exists to process all five colors in one shot, but unfortunately Exiftool forum is down since last saturday.
If it works , you can use the same command in a terminal , directly with exiftool.
Add -r for recursive processing, and a directory name
For Windows, exiftool is called by typing :
exiftool -r -k -m -if "$xmp:label eq 'Grün'" -xmp:label=Green "C:\photos\2018"
On Mac OS, I dont know, maybe something like :
exiftool -r -k -m -if '$xmp:label eq "Grün"' -xmp:label=Green 'C:/photos/2018'
Backup files are created with "_original" extension.
If you want to restore all _original files use : exiftool -restore_original -r 'C:/photos/2018'
if you want to delete them, use : exiftool -delete_original -r 'C:/photos/2018'
if you are very sure, you can add -overwrite_original in exiftool arguments to prevent backup files to be created.
- Select a picture, right click (secondary click on Mac OS) , "Open with", "Configure programs" ...
- Click Add button, browse your Hdd, find your xnviewmp installation directory, then "AddOn" directory, select exiftool and click "Open" button.
- A new line is added in the table. Edit content of first column (double click) and choose a name ... ex : Green
- Edit 2nd column and enter exiftool arguments : -k -m -if "$xmp:label eq 'Grün'" -xmp:label=Green
ok
For Mac OS, I think the right arguments for Exiftool are : -k -m -if '$xmp:label eq "Grün"' -xmp:label=Green
(with double quote around the word "Grün" and simple quote around the whole IF command )
-Try on a test image
- I didn't try this on XMP sidecar files ...
This function replaces Grün by Green in selected photos.
Maybe a function exists to process all five colors in one shot, but unfortunately Exiftool forum is down since last saturday.
If it works , you can use the same command in a terminal , directly with exiftool.
Add -r for recursive processing, and a directory name
For Windows, exiftool is called by typing :
exiftool -r -k -m -if "$xmp:label eq 'Grün'" -xmp:label=Green "C:\photos\2018"
On Mac OS, I dont know, maybe something like :
exiftool -r -k -m -if '$xmp:label eq "Grün"' -xmp:label=Green 'C:/photos/2018'
Backup files are created with "_original" extension.
If you want to restore all _original files use : exiftool -restore_original -r 'C:/photos/2018'
if you want to delete them, use : exiftool -delete_original -r 'C:/photos/2018'
if you are very sure, you can add -overwrite_original in exiftool arguments to prevent backup files to be created.
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
-
- Posts: 48
- Joined: Thu Nov 22, 2018 9:28 pm
Re: Making the switch
Thank you very much!
Thats really helpful. I only need to find out how to work with exiftool under OSX - I just need some time to find out why it does not react on some commands.
Thats really helpful. I only need to find out how to work with exiftool under OSX - I just need some time to find out why it does not react on some commands.