And if you disabled 'delete original'? what do you have in jpeg settings?Rick wrote: Sat Oct 16, 2021 1:26 amWell I don't know what you call it but if I resize only, assigned categories stayxnview wrote: Fri Oct 15, 2021 8:40 am it's not really a 'move'. I've tried with your sample file (which has XMP metadata), and the output file has too XMP metadata (and EXIF too).
If I resize and put itin another folder the categories are stripped out
0.98.4: Batch Converter strips Categories
Moderators: helmut, XnTriq, xnview, Dreamer
Re: MP 0.98.4 Batch Converter strips Categories
Pierre.
Re: MP 0.98.4 Batch Converter strips Categories
If I uncheck "delete original" the original has the category settings and the copied version has NO category settingsxnview wrote: Sun Oct 17, 2021 9:30 amAnd if you disabled 'delete original'? what do you have in jpeg settings?Rick wrote: Sat Oct 16, 2021 1:26 amWell I don't know what you call it but if I resize only, assigned categories stayxnview wrote: Fri Oct 15, 2021 8:40 am it's not really a 'move'. I've tried with your sample file (which has XMP metadata), and the output file has too XMP metadata (and EXIF too).
If I resize and put itin another folder the categories are stripped out
Here are the JPG settings
--
Rick
Rick
Re: MP 0.98.4 Batch Converter strips Categories
so the same thing. And if you remove the action?
Pierre.
Re: MP 0.98.4 Batch Converter strips Categories
The categories are gone when only moving and not using an actionRick wrote: Tue Oct 19, 2021 7:52 pmIf I uncheck "delete original" the original has the category settings and the copied version has NO category settingsxnview wrote: Sun Oct 17, 2021 9:30 amAnd if you disabled 'delete original'? what do you have in jpeg settings?Rick wrote: Sat Oct 16, 2021 1:26 am
Well I don't know what you call it but if I resize only, assigned categories stay
If I resize and put itin another folder the categories are stripped out
Here are the JPG settings
jpeg.jpg
--
Rick
Rick
Re: MP 0.98.4 Batch Converter strips Categories
what do you means, if you actions, all is ok?Rick wrote: Wed Oct 20, 2021 5:05 pm The categories are gone when only moving and not using an action
Pierre.
Re: MP 0.98.4 Batch Converter strips Categories
Actions without moving work. Action AND moving strips the categories. Moving with NO actions strips the categories
--
Rick
Rick
Re: MP 0.98.4 Batch Converter strips Categories
Here it is ...
- Attachments
-
- xnview.rar
- (10.58 KiB) Downloaded 41 times
--
Rick
Rick
Re: MP 0.98.4 Batch Converter strips Categories
I've tried your xnview.ini, but 'keep metadata' was disabled so XMP metadata are not copied.
If i enable it:
As you can see Before and new file have XMP metadata and keywords...
If i enable it:
As you can see Before and new file have XMP metadata and keywords...
Pierre.
Re: MP 0.98.4 Batch Converter strips Categories
I searched the INI file and couldn't find setting anywhere. What section is it in?xnview wrote: Mon Nov 15, 2021 10:28 am I've tried your xnview.ini, but 'keep metadata' was disabled so XMP metadata are not copied.
If i enable it:
As you can see Before and new file have XMP metadata and keywords...
Thanks
--
Rick
Rick
Re: MP 0.98.4 Batch Converter strips Categories
I means 'Preserve metadata' in batch convertRick wrote: Tue Nov 16, 2021 12:02 amI searched the INI file and couldn't find setting anywhere. What section is it in?xnview wrote: Mon Nov 15, 2021 10:28 am I've tried your xnview.ini, but 'keep metadata' was disabled so XMP metadata are not copied.
If i enable it:
As you can see Before and new file have XMP metadata and keywords...
Pierre.
Re: MP 0.98.4 Batch Converter strips Categories
Pierre, I have meta data checked an it still strips categories which I narrowed down to the move part of the process
--
Rick
Rick
Re: MP 0.98.4 Batch Converter strips Categories
In short, here's how it works for me : (many tests)
With photos having xmp or iptc keywords and categories, the batch process "resize" and "write to another folder" will write the new photos, with their keywords if "preserve metadata" is checked.
The categories will be assigned to the new photos only if "import keywords" is enabled in the metadata settings.
If the original photos do not have keywords, but only categories, it is impossible to make the categories to be copied on the new photos
It's not a bug for me , because new photos are different from originals, it's not a real move ...
But if " Delete original " is selected, a warning or an option should prevent categories loss...
------------
There is a way to cause a related bug, it is to add the IPTC IIM action ; this action does not work since V0.96.1, and it erases the xmp and iptc metadata
(instead we must use Tools>metadata>transfer)
With this IPTC IIM action, in xnview.ini I can find
<IPTC-IIM_XMP keepKeywords=\"true\" replace=\"false\" mode=\"0\"/>\n "
in lastActions= of the [convert] section ...
With photos having xmp or iptc keywords and categories, the batch process "resize" and "write to another folder" will write the new photos, with their keywords if "preserve metadata" is checked.
The categories will be assigned to the new photos only if "import keywords" is enabled in the metadata settings.
If the original photos do not have keywords, but only categories, it is impossible to make the categories to be copied on the new photos
It's not a bug for me , because new photos are different from originals, it's not a real move ...
But if " Delete original " is selected, a warning or an option should prevent categories loss...
------------
There is a way to cause a related bug, it is to add the IPTC IIM action ; this action does not work since V0.96.1, and it erases the xmp and iptc metadata
(instead we must use Tools>metadata>transfer)
With this IPTC IIM action, in xnview.ini I can find
<IPTC-IIM_XMP keepKeywords=\"true\" replace=\"false\" mode=\"0\"/>\n "
in lastActions= of the [convert] section ...
Catalogage avec XnviewMP :
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
Re: MP 0.98.4 Batch Converter strips Categories
I've tried on a clean windows with your .ini (only 'keep metadata' changed), and can't reproduceRick wrote: Tue Nov 16, 2021 7:19 pm Pierre, I have meta data checked an it still strips categories which I narrowed down to the move part of the process

Pierre.
Re: MP 0.98.4 Batch Converter strips Categories
Ok thanks although I hope they look into this and if it is not a bug then lets have an "enhancement"michel038 wrote: Tue Nov 16, 2021 9:39 pm In short, here's how it works for me : (many tests)
With photos having xmp or iptc keywords and categories, the batch process "resize" and "write to another folder" will write the new photos, with their keywords if "preserve metadata" is checked.
The categories will be assigned to the new photos only if "import keywords" is enabled in the metadata settings.
If the original photos do not have keywords, but only categories, it is impossible to make the categories to be copied on the new photos
It's not a bug for me , because new photos are different from originals, it's not a real move ...
But if " Delete original " is selected, a warning or an option should prevent categories loss...

Pierre says he does not have the issue so I think I will try it from a totally fresh XnView and see what happens
thanks again
--
Rick
Rick