Not reading xmp information from canon .cr2 or cr3

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
manfred9
Posts: 12
Joined: Mon Jul 03, 2023 8:55 pm

Not reading xmp information from canon .cr2 or cr3

Post by manfred9 »

I have exported the metadata for my pictures from Lightroom to xmp sidecar files. XNView is not showing label or star rating from these files. JPG's are fine.

Here is a screenshot of my settings:
Screenshot 2023-07-04 at 08.53.59.png
Here is an example of the xmp info for the raw file:
Screenshot 2023-07-04 at 08.53.34.png
Here is the data for the sidecar file:
Screenshot 2023-07-04 at 08.52.56.png
Am I missing a setting for XNView to read the sidecar info and apply it to the image?

Thanks.
manfred9
Posts: 12
Joined: Mon Jul 03, 2023 8:55 pm

Re: Not reading xmp information from canon .cr2 or cr3

Post by manfred9 »

Menu - View - Update Catalog from Files doesn't change anything
manfred9
Posts: 12
Joined: Mon Jul 03, 2023 8:55 pm

Re: Not reading xmp information from canon .cr2 or cr3

Post by manfred9 »

If I change the rating with BBEdit in the xmp file it shows in the ExifTool data. DxO shows the new rating as well. Only XNView doesn't regognize the change for the .cr3 rawfile. Yes, I selected it and updated the catalog from file.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Not reading xmp information from canon .cr2 or cr3

Post by xnview »

please send us sample files
Pierre.
manfred9
Posts: 12
Joined: Mon Jul 03, 2023 8:55 pm

Re: Not reading xmp information from canon .cr2 or cr3

Post by manfred9 »

@xnview I have emailed you example files.
Thanks
manfred9
Posts: 12
Joined: Mon Jul 03, 2023 8:55 pm

Re: Not reading xmp information from canon .cr2 or cr3

Post by manfred9 »

After some more testing, it looks like the xmp file format from Lightroom is the problem here.

- unchanged LR xmp files are not showing in the XnView browser window
- changes to the xmp file from DxO (change rating) updates the rating in the xmp file AND reformats the xmp file. Now the xmp files are showing in XnView browser. And Menu - View - Update from files reads the xmp information.

xmp file from LR and DxO look completely different.

Is there a way to convert the LR xmp format into an XnView acceptable format? I know this isn't really an XnView problem but any help would be greatly appreciated. :D :D :D

Thanks
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Not reading xmp information from canon .cr2 or cr3

Post by xnview »

I've tested your file, and it works correctly
Capture-1.jpg
Capture-1.jpg (59.7 KiB) Viewed 4336 times
What do you have in Settings>Metadata?
Pierre.
manfred9
Posts: 12
Joined: Mon Jul 03, 2023 8:55 pm

Re: Not reading xmp information from canon .cr2 or cr3

Post by manfred9 »

Here are my settings
Screenshot 2023-07-05 at 19.54.28.png
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Not reading xmp information from canon .cr2 or cr3

Post by xnview »

and in sidecar?
Pierre.
manfred9
Posts: 12
Joined: Mon Jul 03, 2023 8:55 pm

Re: Not reading xmp information from canon .cr2 or cr3

Post by manfred9 »

Screenshot 2023-07-05 at 20.56.33.png
manfred9
Posts: 12
Joined: Mon Jul 03, 2023 8:55 pm

Re: Not reading xmp information from canon .cr2 or cr3

Post by manfred9 »

XnView version

XnView MP MacOSX
Version 1.4.5 64bits (May 10 2023)
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Not reading xmp information from canon .cr2 or cr3

Post by xnview »

ok, the PreservedName in XMP is different. You can edit the xnview.ini and change

Code: Select all

sidecarPreserved=false
Pierre.
manfred9
Posts: 12
Joined: Mon Jul 03, 2023 8:55 pm

Re: Not reading xmp information from canon .cr2 or cr3

Post by manfred9 »

xnview wrote: Wed Jul 05, 2023 12:21 pm ok, the PreservedName in XMP is different. You can edit the xnview.ini and change

Code: Select all

sidecarPreserved=false
Thanks Pierre that did it. Awesome.
debbibaum
Posts: 1
Joined: Sat Sep 23, 2023 12:43 pm

Re: Not reading xmp information from canon .cr2 or cr3

Post by debbibaum »

Hello there, I am having the CR3 issue and see there is a resolution. However, I am a newbie...can you share the specifics how I make this change to xnviewer ini please?
Post Reply