ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Invindicator on March 09, 2017, 09:16:14 PM

Title: Adding IDF0 Tags Breaks Image Upon Validation
Post by: Invindicator on March 09, 2017, 09:16:14 PM
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  :)
Title: Re: Adding IDF0 Tags Breaks Image Upon Validation
Post by: Phil Harvey on March 09, 2017, 09:31:37 PM
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
Title: Re: Adding IDF0 Tags Breaks Image Upon Validation
Post by: Invindicator on March 09, 2017, 09:33:08 PM
Awesome thanks phil :)