ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: ywzc on January 24, 2025, 07:50:15 PM

Title: Bug in -diff - missing differences
Post by: ywzc on January 24, 2025, 07:50:15 PM
I found a possible bug in the -diff option. It doesn't show all differences.

What I did:
exiftool -wm cg -@ iptc2xmp.args -IPTC:All= IMAGE.JPG
I than ran:
exiftool -s -a -u --System:All IMAGE.JPG -diff IMAGE.JPG_original
The output was:
> [File]          CurrentIPTCDigest               : 0cc2bded349bddded77246167d550ccf
< [XMP-dc]        Creator                         : Picasa 2.6
But exiftool -s -G1 -IPTC:All IMAGE.JPG IMAGE.JPG_original shows:
======== IMAGE.JPG
======== IMAGE.JPG_original
[IPTC]          By-line                         : Picasa 2.6
    2 image files read
Title: Re: Bug in -diff - missing differences
Post by: Phil Harvey on January 24, 2025, 08:56:37 PM
Thanks for this report!

I can reproduce this problem and will post back when I know more.

- Phil
Title: Re: Bug in -diff - missing differences
Post by: Phil Harvey on January 24, 2025, 09:56:08 PM
I've found the problem, and ExifTool 13.16 will fix this issue.

It seems that one tag was dropped from the output for groups that exist in the diff file but not the source file.

Thanks again for the report.

- Phil
Title: Re: Bug in -diff - missing differences
Post by: Phil Harvey on January 25, 2025, 12:07:26 PM
Version 13.16 is now available.

- Phil
Title: Re: Bug in -diff - missing differences
Post by: ywzc on January 25, 2025, 02:11:12 PM
Thank you for the quick fix!