Adding IDF0 Tags Breaks Image Upon Validation

Started by Invindicator, March 09, 2017, 09:16:14 PM

Previous topic - Next topic

Invindicator

Hi everyone,

Was having some trouble when adding IFD0:XPTitle and IFD0:XPKeywords to an image file. I have been fixing all of my images and in the process wanted to add a title and tag to each image (Windows 10 verstion 1607). I can successfully add the info by using the following from the command line
exiftool -"IFD0:XPTitle=Fantastic 4 Jenolan Caves September 2015" -"IFD0:XPKeywords=Holiday;Friends" "Jenolan Caves 0180.jpg"

However I have also been validating all of my images as I go and after running
exiftool -a -if "($validate ne 'OK')" -p "$validate" "Jenolan Caves 0180.jpg"
my image goes from returning
Validate                        : OK

to returning
2 Warnings (all minor)
Warning: [minor] Non-standard IFD0 tag 0x9c9b XPTitle - Jenolan Caves 0180.jpg
Warning: [minor] Non-standard IFD0 tag 0x9c9e XPKeywords - Jenolan Caves 0180.jpg


I am aware that these are minor warnings but all the same I would prefer to be rid of them (not hide with -m but actually correct what is wrong with the image). Any help is greatly appreciated.

Exiftool Version 10.45

Regards, Invindicator  :)

Phil Harvey

The Validation option is still experimental, and probably over zealous about warnings for non-standard EXIF tags.  I should probably remove these warnings for the XP tags.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Invindicator