Writing out XMP data 'feature'

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

Moderators: helmut, XnTriq, xnview

mkc73
Posts: 51
Joined: Thu Jun 15, 2023 7:09 am

Writing out XMP data 'feature'

Post by mkc73 »

Hi
I have xnview mp to output xmp data and occasionaly delete and refresh the catalogue form the image xmp data.
A feature that catches me out here and there is :

save image to directory currently viewed in browser - image is currently selected
update category in category pane
assigned value appears (not bold)
switch context to another image then switch back to original image
assigned value is emboldened
BUT data is not yet written out to xmp data
can move away and back but still does not get written out
only written out if update another category and then move away

But if :
save image to directory currently viewed in browser - image is currently selected
move away from image and back again
update category in category pane
assigned value appears (not bold)
switch context to another image then switch back to original image
assigned value is emboldened
xmp data written out as expected
User avatar
xnview
Author of XnView
Posts: 45859
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Writing out XMP data 'feature'

Post by xnview »

what do you have in Settings>Metadata?
Pierre.
mkc73
Posts: 51
Joined: Thu Jun 15, 2023 7:09 am

Re: Writing out XMP data 'feature'

Post by mkc73 »

hi

thanks for your reply. See screenshot below.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 45859
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Writing out XMP data 'feature'

Post by xnview »

could you send some screenshots to show the problem?
Pierre.
mkc73
Posts: 51
Joined: Thu Jun 15, 2023 7:09 am

Re: Writing out XMP data 'feature'

Post by mkc73 »

Hi Pierre,
After deselecting image and reselecting image. There is no XMP data written out. Though assigned value shows bold.

Can get it to update by assigning/deassigning keyword and deselecting image.

NB only happens when image is moved into displayed directory when it is automatically selected and then keywords are assigned
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 45859
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Writing out XMP data 'feature'

Post by xnview »

how to reproduce.
You start XnView in a folder, copy a file in windows explorer in current folder, selected file is changed, select category (category panel), change file, and go back?
Pierre.
mkc73
Posts: 51
Joined: Thu Jun 15, 2023 7:09 am

Re: Writing out XMP data 'feature'

Post by mkc73 »

Hi Pierre,

That's it precisely - though I am saving image to folder from firefox. On my Ubuntu linux system using XnView MP 1.6.2 that does not result in the XMP data being written out - at least as seen in the XMP info display.

Whereas, start XnView in a folder, copy a file in windows explorer in current folder, selected file is changed, change file, go back, select category (category panel), change file, and go back works as expected.
User avatar
xnview
Author of XnView
Posts: 45859
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Writing out XMP data 'feature'

Post by xnview »

mkc73 wrote: Wed Dec 06, 2023 10:39 am That's it precisely - though I am saving image to folder from firefox. On my Ubuntu linux system using XnView MP 1.6.2 that does not result in the XMP data being written out - at least as seen in the XMP info display.
do you save a jpeg file?
Pierre.
mkc73
Posts: 51
Joined: Thu Jun 15, 2023 7:09 am

Re: Writing out XMP data 'feature'

Post by mkc73 »

Hi Pierre,

Yes the file is jpg. Note that provided I deselect the file and reselect it before updating the category everything works hunky dory.

I presume you ask because some image formats don't support xmp data. In the past I scratched my head a long time after moving webp image files to my database and saving them as jpg files (after some alterations in xmp) and then found I could not update the xmp data!
User avatar
xnview
Author of XnView
Posts: 45859
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Writing out XMP data 'feature'

Post by xnview »

instead of saving from firefox, you copy a jpeg file in file explorer, same problem?
Pierre.
mkc73
Posts: 51
Joined: Thu Jun 15, 2023 7:09 am

Re: Writing out XMP data 'feature'

Post by mkc73 »

"instead of saving from firefox, you copy a jpeg file in file explorer, same problem?

Yes. File is initially selected, update a category value, move away, move back, catalog shows value assiged but XMP data not yet written out.
mkc73
Posts: 51
Joined: Thu Jun 15, 2023 7:09 am

Re: Writing out XMP data 'feature'

Post by mkc73 »

NB Simple work around is to initially deselect the file then reselect and everything is tickety-boo.