Page 1 of 1
Categories not in Saved images
Posted: Mon Jun 23, 2025 11:01 pm
by dave80
When I edit and Save a jpg image that has Categories written into the original file's metadata the Categories are not in the saved image.
Steps to reproduce
1. Add Categories to images.
2. Edit image (crop, auto contrast, saturation, etc).
3. Click Save (to save a copy) or Save As.
Result
Saved images do not have any Categories assigned to them.
I have the options set to Write Categories into IPTC and XMP. Settings > Metdata.

- xnviewmp-metadata_settings.JPG (107.31 KiB) Viewed 226 times
I have the options selected to Keep EXIF, IPTC and XMP when saving. Settings > Formats > Write.

- xnviewmp-write_settings.JPG (97.57 KiB) Viewed 226 times
Am I doing something wrong?
Re: Categories not in Saved images
Posted: Tue Jun 24, 2025 8:31 am
by xnview
i'm not able to reproduce. Saved file has no XMP or IPTC metadata? Please send us your xnview.ini
Re: Categories not in Saved images
Posted: Tue Jun 24, 2025 10:51 am
by dave80
Thank you Pierre. I have sent the xnview.ini file in a PM to you.
Sorry I have just noticed that if I look at the Info panel the metadata is in XMP and IPTC.
My default view has the Categories panel open. The Category is not selected for the saved image. Also the saved image does not have the little symbol on it's thumbnail. If I do Metadata > Update catalogue from files on the saved image the Category becomes selected and the symbol appears on it's icon. Do I have to do this every time or is there a setting to have the Categories automatically selected after editing and saving images?
After Metadata > Update catalogue from files

- xnview-symbol.JPG (40.84 KiB) Viewed 206 times
Re: Categories not in Saved images
Posted: Tue Jun 24, 2025 1:58 pm
by xnview
It works with your xnview.ini

Please send me a sample file? and the steps to reproduce?
Re: Categories not in Saved images
Posted: Tue Jun 24, 2025 8:21 pm
by dave80
Thank you Pierre. Sorry I made a mistake. The metadata is in IPTC and XMP but the saved image does not have the Category selected in the Categories panel and the thumbnail of the saved image does not have the Has Category Overlay icon on it.
I have to do Metadata > Update catalogue from files to make the Category become selected in the Categories panel and the Has Category Overlay icon appear on the thumbnail. Should I have to do Metadata > Update catalogue from files? I thought that after saving an image that already had a Category assigned the resulting saved image would also have a Category assigned and have the Has Category Overlay icon on the thumbnail.
Re: Categories not in Saved images
Posted: Wed Jun 25, 2025 5:41 am
by xnview
dave80 wrote: Tue Jun 24, 2025 8:21 pm
I have to do Metadata > Update catalogue from files to make the Category become selected in the Categories panel and the Has Category Overlay icon appear on the thumbnail. Should I have to do Metadata > Update catalogue from files?
you don't need to do that, overlay will be added automatically.
Please send me a sample file? and the steps to reproduce?
Re: Categories not in Saved images
Posted: Wed Jun 25, 2025 5:51 am
by user0
I'm pretty sure OP is confused because after assigning categories,
overlay icons do not appear until you unselect file(s) or press F5
Re: Categories not in Saved images
Posted: Wed Jun 25, 2025 10:53 am
by dave80
xnview wrote: Wed Jun 25, 2025 5:41 am
dave80 wrote: Tue Jun 24, 2025 8:21 pm
I have to do Metadata > Update catalogue from files to make the Category become selected in the Categories panel and the Has Category Overlay icon appear on the thumbnail. Should I have to do Metadata > Update catalogue from files?
you don't need to do that, overlay will be added automatically.
Please send me a sample file? and the steps to reproduce?
Thank you,
I will email the files to you Pierre.
Here are the steps I take.
1. Import images.

- 1.JPG (99.51 KiB) Viewed 146 times
2. Add Categories.

- 2.JPG (100.61 KiB) Viewed 146 times
3. Overlay icons have been added and the Category is checked in the Category panel.

- 3.JPG (155.62 KiB) Viewed 146 times
4. Double click to open Image and then edit it.

- 5.JPG (74.9 KiB) Viewed 146 times
5. Click Save to Save a copy.

- 6.JPG (60.92 KiB) Viewed 146 times
6. Return to Browser. Category is not checked and the Overlay icon is missing.

- 7.JPG (114.21 KiB) Viewed 146 times
Re: Categories not in Saved images
Posted: Wed Jun 25, 2025 2:41 pm
by xnview
ok, thanks, i can reproduce with 'Save as' & 'Save copy'. 'Save' will overwrite the file and keep overlay.
Re: Categories not in Saved images
Posted: Wed Jun 25, 2025 8:37 pm
by dave80
xnview wrote: Wed Jun 25, 2025 2:41 pm
ok, thanks, i can reproduce with 'Save as' & 'Save copy'. 'Save' will overwrite the file and keep overlay.
You're welcome. Thank you for confirming I was not doing something wrong.
Re: Categories not in Saved images
Posted: Fri Jun 27, 2025 7:54 am
by xnview
dave80 wrote: Wed Jun 25, 2025 8:37 pm
You're welcome. Thank you for confirming I was not doing something wrong.
i've sent you a PM
Re: Categories not in Saved images
Posted: Mon Jun 30, 2025 6:25 am
by xnview

Thanks to your detailed description I can reproduce
the problem.