Bug in -diff - missing differences

Started by ywzc, January 24, 2025, 07:50:15 PM

Previous topic - Next topic

ywzc

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

Phil Harvey

Thanks for this report!

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

- 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 ($).

Phil Harvey

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
...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 ($).

Phil Harvey

...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 ($).

ywzc