Page 1 of 1
Update files from catalog - settings
Posted: Sun Dec 08, 2019 11:15 am
by Evds
How do I control what gets written to the file when I select "Update files from catalog" ?
I notice that "update files from catalog" makes a XMP sidecar for jpegs when the option "Export DB Category to XMP Subject and IPTC keyword" (in metadata/iptc & xmp) is not checked.
When the option "Export DB Category to XMP Subject and IPTC keyword" (+create XMP + create IPTC data) is checked and I select "Update files from catalog" the xmp is embedded for the selected files but the keywords are not written to IPTC.
Ratings are also exported to the xmp although I didn't check that option in the "iptc & xmp" settings panel.
Can we have some explanation concerning which functions get affected by the settings in the current "metadata/iptc & xmp" settings panel ?
Is it possible to have a separate settings panel for "Update files from catalog" ?
Re: Update files from catalog - solved
Posted: Sun Dec 08, 2019 7:38 pm
by michel038
I notice that "update files from catalog" makes a XMP sidecar for jpegs when the option "Export DB Category to XMP Subject and IPTC keyword" (in metadata/iptc & xmp) is not checked.
Right,
I've already discovered this. Exif+xmp metadata are written in the sidecar, only if "create or update sidecar" is not checked. Why ? I don't know.
When the option "Export DB Category to XMP Subject and IPTC keyword" (+create XMP + create IPTC data) is checked and I select "Update files from catalog" the xmp is embedded for the selected files but the keywords are not written to IPTC.
I think it's a bug, same behaviour with V0.93, 0.94. I never noticed this bug !
Even if only "create IPTC" is checked, IPTC won't be written, but XMP will be.
The bug was already present in V0.90, and previous versions had no ITPC option, only xmp were available.
I think that "Update files from catalog" copies the database content (keywords, hierarchical keywords, stars, colors) in "xmp style" without checking (verifying?) any option.
Re: Update files from catalog - settings
Posted: Thu Dec 12, 2019 12:53 pm
by michel038
Edit :
An admin can move this post to "bug reports" ?
Re: Update files from catalog Workaround
Posted: Sat Dec 14, 2019 3:40 pm
by michel038
Workarounds : (only for versions older than V0.96 For newer versions, see my last post below)
- "Edit iptc+xmp" window can create IPTC keywords (if xmp exists) but only hierarchical IPTC (that is what I do not want)
- Another way could have been to use "Tools, metadata, Transfer" but this new tool doesn't read XMP data ...
- Other solution is to unmark/mark categories, but it's not easy if you have hundreds (select photos first, and wait for a while between unmark/mark)
Another workaround to copy xmp-dc subject into iptc:keywords with ExifTool
- Tools, Open with, Configure programs, and click "Add"
- Select Exiftool in the "AddOn" folder of XnViewMP installation folder.
- Fill the empty field Name with something like "XmpToIptc kw"
- In Parameter field, add :
Code: Select all
-k "-iptc:keywords<xmp-dc:subject"
(this is for windows, with double quotes )
Then, select a photo, Open with, XmpToIptc kw ...
A _original file will remain , to avoid this, add -overwrite_original in the parameter above
To process subfolders, add also -r
Code: Select all
-k -r "-iptc:keywords<xmp-dc:subject" -overwrite_original
- Select a bunch of photos, right click, open with ... XmpToIptc kw
Re: Update files from catalog - settings
Posted: Mon Dec 23, 2019 7:55 am
by xnview
yes if the setting is not checked, it's better to write embedded
Re: Update files from catalog - settings
Posted: Mon Dec 23, 2019 5:03 pm
by michel038
The bug that was described first :
When the option "Export DB Category to XMP Subject and IPTC keyword" (+create XMP + create IPTC data) is checked and I select "Update files from catalog" the xmp is embedded for the selected files but the keywords are not written to IPTC.
Re: Update files from catalog - settings
Posted: Wed Apr 08, 2020 8:04 pm
by michel038
I did some tests again with this function "Update files with the catalog" :
It doesn't take into account the Options, Metadata settings:
-It systematically writes XMP keywords and hierarchicals (xmp-dc-subject and xmp-lr:hierarchicalsubject)
-it never writes the IPTC keywords
Info :
-It writes the XMP Sidecar if the export option is unchecked, it's paradoxical, one would expect to have to check Export AND Sidecar
For the writing of the sidecar we can think of an evolution, which would allow to include the xmp metadata that we added from the Edit window, I will make another post suggestion
auf Französisch
J'ai refait quelques tests avec cette fonction "Mise à jour des fichiers avec le catalogue" :
Elle ne tient pas compte des réglages Options, Métadonnées :
-Elle écrit systématiquement les mots clés XMP et les Hiérarchiques (xmp-dc-subject et xmp-lr:hierarchicalsubject)
-Elle n'écrit jamais les mots clés IPTC
et pour info
-Elle écrit le Sidecar XMP quand l'option exporter est décochée, c'est paradoxal, on s'attendrait à devoir cocher Exporter ET Sidecar
Pour l'écriture du sidecar on peut penser une évolution, qui permettrait d'y inclure les métadonnées xmp qu'on a ajoutées depuis la fenêtre Editer, je ferai un autre post suggestion
Re: Update files from catalog - settings
Posted: Tue Apr 21, 2020 5:06 am
by djcubez
I am also having an issue writing category data into IPTC data after the fact. The only method which works for me is to select the photos and then uncheck and recheck the categories. However, this method is extremely time consuming.
Re: Update files from catalog - settings
Posted: Mon Oct 12, 2020 12:52 pm
by michel038
function "Update files with the catalog" did not write the IPTC keywords in previous versions ...
Now, with 0.96.4, IPTC keywords are written. Bug solved
En V096.4, les mots clés IPTC sont maintenant écrits avec "Mise à jour des fichiers avec le catalogue", le bug est résolu.
Je n'ai pas vu passer le "changelog" pour cette correction
Re: Update files from catalog - settings
Posted: Mon Apr 05, 2021 2:14 pm
by michel038
En V0.98.1 ce bug (non écriture des mots clés IPTC ) parait bien résolu.
Par contre j'y ai été confronté un peu aléatoirement chez un ami avec la V0.98.2
Pour le moment je ne peux pas tester la 0.98.2 chez moi ...
Re: Update files from catalog - settings
Posted: Mon Jun 14, 2021 11:43 am
by xnview
michel038 wrote: Mon Apr 05, 2021 2:14 pm
En V0.98.1 ce bug (non écriture des mots clés IPTC ) parait bien résolu.
Par contre j'y ai été confronté un peu aléatoirement chez un ami avec la V0.98.2
Pour le moment je ne peux pas tester la 0.98.2 chez moi ...
Ce bug est résolu?
Re: Update files from catalog - solved
Posted: Fri Jun 18, 2021 2:49 pm
by michel038
Solved since V0.96.4
Considérons que c'est résolu, je ne peux pas reproduire chez moi en V0.98.4
Si j'y suis à nouveau confronté , j'essaierai de le cerner et j'ouvrirai un nouveau topic.
Edit : 2022/06/15 Bug still present.
When photo does not contain any iptc data, "update files from catalog" is unable to add categories as iptc keywords.
See this new thread :
viewtopic.php?f=82&t=43489
Bug toujours présent juin 2022.
Si la photo ne contient aucune donnée IPTC, la "mise à jour des fichiers à partir du catalogue" ne peut pas écrire les catégories sous forme de mots-clés IPTC.
(toutes mes photos contenaient déjà au moins un champ IPTC, je n'avais donc pas le bug )
Nouveau topic :
viewtopic.php?f=82&t=43489
Re: Update files from catalog - settings
Posted: Thu Sep 08, 2022 3:28 am
by Gwenael Q.
Hello,
I must be missing something obvious but tonight I wasn't able to find the "update files from catalog" option (XnViewmp 1.3).
Where I could find it ?
Thanks for listening
Re: Update files from catalog - settings
Posted: Thu Sep 08, 2022 6:49 am
by xnview
Gwenael Q. wrote: Thu Sep 08, 2022 3:28 am
Hello,
I must be missing something obvious but tonight I wasn't able to find the "update files from catalog" option (XnViewmp 1.3).
Where I could find it ?
In View menu