Update files from catalog IPTC & XMP multiple problems.

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

FKCapitalism2
Posts: 300
Joined: Sun Apr 23, 2023 5:14 am

Update files from catalog IPTC & XMP multiple problems.

Post by FKCapitalism2 »

Inside Settings > Browser > Metadata > IPTC & XMP.

Image

Problem #1

Option Export Catalog's Category to XMP Subject and IPTC Keyword including two sub options Create XMP data and Create IPTC data is completely ignored and category is always exported to both XMP Subject and IPTC Keyword regardless of its being checked or unchecked.


Problem #2

Option Read hierarchical keywords from images as categories does not work, keywords always load hierarchically.

Perhaps to be more clear this option should be called "Read hierarchical keywords from images as hierarchical categories"


Problem #3

Option Write categories into images as hierachical keywords also does nothing, always write hierarchical.

There's typo in word "hierarchical"


Problem #4

Options Export rating in XMP metadata and Export color label in XMP metadata have no effect rating and color are always exported.


Problem #5

Option Write comment in XMP (dc:description and exif:UserComment) have no effect.

Perhaps because comments are not implemented yet.

Image

Comments from Ctrl+D dialog box don't save in database, there's only option to write them in the file, and they don't get written to .XMP sidecar from there either when used with RAW files.


Problem #6

Tagging (checkbox) status is not exported from XnViewMP catalog to files with Update files from catalog

Image



P.S. All above was tested on .ARW file and can be seen inside .XMP sidecar.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Update files from catalog IPTC & XMP multiple problems.

Post by xnview »

could you describe what do you use to reproduce these problems?
Problem #6

Tagging (checkbox) status is not exported from XnViewMP catalog to files with Update files from catalog
Why?? tag visibility has nothing to do with catalog
Pierre.
FKCapitalism2
Posts: 300
Joined: Sun Apr 23, 2023 5:14 am

Re: Update files from catalog IPTC & XMP multiple problems.

Post by FKCapitalism2 »

xnview wrote: Sat Oct 07, 2023 8:30 am could you describe what do you use to reproduce these problems?
I was testing Metadata > Edit IPTC dialog on this RAW file https://www.upload.ee/files/15772839/_DSC0001.zip.html with different options from Settings > Metadata > IPTC & XMP enabled and disabled to see if they actually have any effect.

I might have misunderstood meaning of options in Settings > Metadata > IPTC & XMP for instance "export rating in XMP metadata", i thought it means "write rating to sidecar .xmp file" and probably actual meaning of this option is "write rating to XMP metadata fields that is written either to image itself or .xmp sidecar" and all options related to creating sidecar .xmp files is on tab Settings > Metadata > Sidecar?

xnview wrote: Sat Oct 07, 2023 8:30 am
Problem #6
Tagging (checkbox) status is not exported from XnViewMP catalog to files with Update files from catalog
Why?? tag visibility has nothing to do with catalog
When i tag image inside XnViewMP and close the program then reopen it again file is still tagged, how does XnViewMP remember that file is tagged, where it saves that information?
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Update files from catalog IPTC & XMP multiple problems.

Post by xnview »

FKCapitalism2 wrote: Mon Oct 09, 2023 9:53 am I might have misunderstood meaning of options in Settings > Metadata > IPTC & XMP for instance "export rating in XMP metadata", i thought it means "write rating to sidecar .xmp file" and probably actual meaning of this option is "write rating to XMP metadata fields that is written either to image itself or .xmp sidecar" and all options related to creating sidecar .xmp files is on tab Settings > Metadata > Sidecar?
Yes, 'XMP metadata' can be embedded or sidecar
xnview wrote: Sat Oct 07, 2023 8:30 am
Problem #6
Tagging (checkbox) status is not exported from XnViewMP catalog to files with Update files from catalog
Sorry but i'm wrong, currently tagged files is stored in catalog. But why do you want export it state with 'Update files from catalog'? It's not a metadata entry
Pierre.
FKCapitalism2
Posts: 300
Joined: Sun Apr 23, 2023 5:14 am

Re: Update files from catalog IPTC & XMP multiple problems.

Post by FKCapitalism2 »

xnview wrote: Tue Oct 10, 2023 2:41 pm Yes, 'XMP metadata' can be embedded or sidecar
That option does not work for me when updating .arw file sidecar .xmp is not being created.

Test file: https://www.upload.ee/files/15772839/_DSC0001.zip.html

Here are my options.

Image

Image

Image


xnview wrote: Tue Oct 10, 2023 2:41 pmSorry but i'm wrong, currently tagged files is stored in catalog. But why do you want export it state with 'Update files from catalog'? It's not a metadata entry
I need ability to only save metadata to catalog when using IPTC & XMP dialog window's instead of writing to file / sidecar. Then once i have tagged all my thousands of files i select them and press "Update files from catalog" and go sleep while XnViewMP created sidecars or writes metadata to all image files for many hours.

Otherwise if i select 100 files that i want to add metadata for, say Country = Thailand then click Write and have to wait for while before XnViewMP finish to write files before i can continue to add metadata for next group of files. Too much interruptions in the workflow.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Update files from catalog IPTC & XMP multiple problems.

Post by xnview »

FKCapitalism2 wrote: Fri Oct 13, 2023 6:48 am
xnview wrote: Tue Oct 10, 2023 2:41 pm Yes, 'XMP metadata' can be embedded or sidecar
That option does not work for me when updating .arw file sidecar .xmp is not being created.
It works only with 'Edit XMP'.
I need ability to only save metadata to catalog when using IPTC & XMP dialog window's instead of writing to file / sidecar. Then once i have tagged all my thousands of files i select them and press "Update files from catalog" and go sleep while XnViewMP created sidecars or writes metadata to all image files for many hours.

Otherwise if i select 100 files that i want to add metadata for, say Country = Thailand then click Write and have to wait for while before XnViewMP finish to write files before i can continue to add metadata for next group of files. Too much interruptions in the workflow.
I understand. But full XMP metadata is not written in catalog. Only rating/color labels/categories. 'Update files from catalog' update only these fields.

Creating sidecar should not be long...
Pierre.
FKCapitalism2
Posts: 300
Joined: Sun Apr 23, 2023 5:14 am

Re: Update files from catalog IPTC & XMP multiple problems.

Post by FKCapitalism2 »

xnview wrote: Mon Oct 16, 2023 9:32 am
FKCapitalism2 wrote: Fri Oct 13, 2023 6:48 am
xnview wrote: Tue Oct 10, 2023 2:41 pm Yes, 'XMP metadata' can be embedded or sidecar
That option does not work for me when updating .arw file sidecar .xmp is not being created.
It works only with 'Edit XMP'.
Indeed sidecar .xmp is being created for "Edit XMP" dialog box. Will you make sidecar .xmp option work for "Edit IPTC" dialog box in upcoming version?

Also i noticed bug with "Edit XMP" in v1.6.0. After pressing Write and sidecar .xmp file is created, image thumbnail disappears from the thumbnail view of XnViewMP and refreshing thumbnail view does not bring it back. Only navigating away from folder and coming back shows missing thumbnail again.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Update files from catalog IPTC & XMP multiple problems.

Post by xnview »

FKCapitalism2 wrote: Wed Oct 18, 2023 6:32 am Indeed sidecar .xmp is being created for "Edit XMP" dialog box. Will you make sidecar .xmp option work for "Edit IPTC" dialog box in upcoming version?
'Edit IPTC' is used to edit IPTC not XMP, sidecar are XMP metadatas
Also i noticed bug with "Edit XMP" in v1.6.0. After pressing Write and sidecar .xmp file is created, image thumbnail disappears from the thumbnail view of XnViewMP and refreshing thumbnail view does not bring it back. Only navigating away from folder and coming back shows missing thumbnail again.
same in 1.6.1?
Pierre.
FKCapitalism2
Posts: 300
Joined: Sun Apr 23, 2023 5:14 am

Re: Update files from catalog IPTC & XMP multiple problems.

Post by FKCapitalism2 »

xnview wrote: Thu Oct 19, 2023 9:01 am
FKCapitalism2 wrote: Wed Oct 18, 2023 6:32 am Indeed sidecar .xmp is being created for "Edit XMP" dialog box. Will you make sidecar .xmp option work for "Edit IPTC" dialog box in upcoming version?
'Edit IPTC' is used to edit IPTC not XMP, sidecar are XMP metadatas
That's a major slowdown every RAW is 20MB re-writting 100 raw's takes quite a bit of time.

Other software (Photo Mechanic) that write IPTC tags offers option to either write IPTC inside actual raw or create sidecar .xmp.
ACDSee creates .xmp files only when you update IPTC does not even have option to write to raw files. I believe its part of IPTC standard to have either tags in .xmp sidecar or written to raw itself, whatever option user like's more. This is very nice to have a choice as some people are extra careful and don't wish to modify the raw image file itself.

xnview wrote: Thu Oct 19, 2023 9:01 am
Also i noticed bug with "Edit XMP" in v1.6.0. After pressing Write and sidecar .xmp file is created, image thumbnail disappears from the thumbnail view of XnViewMP and refreshing thumbnail view does not bring it back. Only navigating away from folder and coming back shows missing thumbnail again.
same in 1.6.1?
Yes in 1.6.1 as well, thumbnail still disappears after pressing Write button .
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Update files from catalog IPTC & XMP multiple problems.

Post by xnview »

FKCapitalism2 wrote: Fri Oct 20, 2023 9:10 am
xnview wrote: Thu Oct 19, 2023 9:01 am
FKCapitalism2 wrote: Wed Oct 18, 2023 6:32 am Indeed sidecar .xmp is being created for "Edit XMP" dialog box. Will you make sidecar .xmp option work for "Edit IPTC" dialog box in upcoming version?
'Edit IPTC' is used to edit IPTC not XMP, sidecar are XMP metadatas
That's a major slowdown every RAW is 20MB re-writting 100 raw's takes quite a bit of time.

Other software (Photo Mechanic) that write IPTC tags offers option to either write IPTC inside actual raw or create sidecar .xmp.
ACDSee creates .xmp files only when you update IPTC does not even have option to write to raw files. I believe its part of IPTC standard to have either tags in .xmp sidecar or written to raw itself, whatever option user like's more. This is very nice to have a choice as some people are extra careful and don't wish to modify the raw image file itself.
But .xmp is XMP metadatas not IPTC, why not use 'Edit XMP'?
Pierre.
FKCapitalism2
Posts: 300
Joined: Sun Apr 23, 2023 5:14 am

Re: Update files from catalog IPTC & XMP multiple problems.

Post by FKCapitalism2 »

xnview wrote: Fri Oct 20, 2023 11:40 am
FKCapitalism2 wrote: Fri Oct 20, 2023 9:10 am
xnview wrote: Thu Oct 19, 2023 9:01 am
'Edit IPTC' is used to edit IPTC not XMP, sidecar are XMP metadatas
That's a major slowdown every RAW is 20MB re-writting 100 raw's takes quite a bit of time.

Other software (Photo Mechanic) that write IPTC tags offers option to either write IPTC inside actual raw or create sidecar .xmp.
ACDSee creates .xmp files only when you update IPTC does not even have option to write to raw files. I believe its part of IPTC standard to have either tags in .xmp sidecar or written to raw itself, whatever option user like's more. This is very nice to have a choice as some people are extra careful and don't wish to modify the raw image file itself.
But .xmp is XMP metadatas not IPTC, why not use 'Edit XMP'?
I thought that If i use other image viewer such as ACDSee or lightroom it won't show XMP fields, only IPTC. However i need to test that.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Update files from catalog IPTC & XMP multiple problems.

Post by xnview »

FKCapitalism2 wrote: Fri Oct 20, 2023 7:35 pm I thought that If i use other image viewer such as ACDSee or lightroom it won't show XMP fields, only IPTC. However i need to test that.
All modern apps use XMP and no more IPTC metadatas
Pierre.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Update files from catalog IPTC & XMP multiple problems.

Post by xnview »

FKCapitalism2 wrote: Fri Oct 20, 2023 9:10 am
xnview wrote: Thu Oct 19, 2023 9:01 am
Also i noticed bug with "Edit XMP" in v1.6.0. After pressing Write and sidecar .xmp file is created, image thumbnail disappears from the thumbnail view of XnViewMP and refreshing thumbnail view does not bring it back. Only navigating away from folder and coming back shows missing thumbnail again.
same in 1.6.1?
Yes in 1.6.1 as well, thumbnail still disappears after pressing Write button .
I can't reproduce. It's the thumbnail of .arw which disappear? Even with F5 the file is not visible? Could you post a screenshot of 'Settings>File list>Companion files?'
Pierre.
FKCapitalism2
Posts: 300
Joined: Sun Apr 23, 2023 5:14 am

Re: Update files from catalog IPTC & XMP multiple problems.

Post by FKCapitalism2 »

xnview wrote: Sat Oct 21, 2023 7:57 am
FKCapitalism2 wrote: Fri Oct 20, 2023 9:10 am
xnview wrote: Thu Oct 19, 2023 9:01 am

same in 1.6.1?
Yes in 1.6.1 as well, thumbnail still disappears after pressing Write button .
I can't reproduce. It's the thumbnail of .arw which disappear? Even with F5 the file is not visible? Could you post a screenshot of 'Settings>File list>Companion files?'
Yes, its .arw file related, and F5 does not bring it back, only when navigating out of folder and coming back.
1.png
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Update files from catalog IPTC & XMP multiple problems.

Post by xnview »

FKCapitalism2 wrote: Sun Oct 22, 2023 5:37 am Yes, its .arw file related, and F5 does not bring it back, only when navigating out of folder and coming back.
I can't reproduce, could you send me your xnview.ini, and describe the way to reproduce?
Pierre.
Post Reply