I just updated to 12.41 and I'm seeing a warning with many files:
Warning: IPTCDigest is not current. XMP may be out of sync
This appears to be a message that was introduced with June 9, 2021 - Version 12.27, but it only recently started to generate these errors. I think it is miscalculating the IPTC digest.
For example:
https://fotoforensics.com/analysis.php?id=e1860e9fa4d303052314ca98def2f8296935c18a.2136500
There is an IPTC record.
I have other tools that compute the IPTC digest and then compare it to the existing IPTC records.
The Photoshop block's IPTC digest is correct. It matches my own computed IPTC signature.
However, the File summary block's "Current IPTC Digest" is incorrect.
-Neal
I can't replicate that here.
C:\>exiftool -P -overwrite_original -all= -iptc:codedCharacterSet=utf8 -MWG:Description=Test -MWG:City="San Diego" y:\!temp\Test4.jpg
1 image files updated
C:\>exiftool -g1 -a -s -warning -validate y:\!temp\Test4.jpg
---- ExifTool ----
Validate : OK
C:\>exiftool -G1 -a -s -*iptc* y:\!temp\Test4.jpg
[File] CurrentIPTCDigest : 1e9a7c9874f48f082c4a56dc2ae49395
[Photoshop] IPTCDigest : 1e9a7c9874f48f082c4a56dc2ae49395
C:\>exiftool -G1 -a -s -MWG:City -MWG:Description y:\!temp\Test4.jpg
[MWG] City : San Diego
[MWG] Description : Test
C:\>exiftool -G1 -a -s -iptc:all -XMP:All y:\!temp\Test4.jpg
[IPTC] CodedCharacterSet : UTF8
[IPTC] EnvelopeRecordVersion : 4
[IPTC] City : San Diego
[IPTC] Caption-Abstract : Test
[IPTC] ApplicationRecordVersion : 4
[XMP-x] XMPToolkit : Image::ExifTool 12.41
[XMP-iptcExt] LocationShownCity : San Diego
[XMP-dc] Description : Test
[XMP-photoshop] City : San Diego
Do you have an example command the shows this problem?
I just did a little more digging.
In my sample picture, there are duplicate APP blocks.
The blocks are in the order:
APP0: JFIF
APP1: Exif
APP1: http://ns.adobe.com/xap/1.0/
APP13: Photoshop 3.0
APP1: Exif
APP13: Photoshop 3.0
The first problem is that there are duplicate APP blocks. (The standard doesn't mention what to do in this situation, so it should be a warning and not an error.)
The first APP13 block contains an IPTC record, but no IPTC digest. This is the "Current IPTC Digest" that exiftool identifies.
The second APP13 block contains an empty IPTC record. It also has an IPTC digest that is correct for the associated empty IPTC record.
I think the warning about the current IPTC Digest being out of sync is incorrect.
The warning should be about a duplicate APP block.
"APP1 Exif" and "APP1 http://ns.adobe.com/xap/1.0" are fine. But that second "APP1 Exif" should generate a warning.
Similarly, the first APP13 is fine, but the second one should generate a warning.
@StarGeek:
Try this file:
https://fotoforensics.com/analysis.php?id=e1860e9fa4d303052314ca98def2f8296935c18a.2136500&fmt=orig
Quote from: Neal Krawetz on April 26, 2022, 11:37:49 AM
I think the warning about the current IPTC Digest being out of sync is incorrect.
The warning should be about a duplicate APP block.
There is a warning,
Non-standard IPTC. It's just that there are multiple warnings and you don't necessarily see them all without the
-a (
-duplicates) option (https://exiftool.org/exiftool_pod.html#a---a--duplicates---duplicates).
Edit: It's actually
-Validate that shows the
Non-standard IPTC warning.
C:\>exiftool -g1 -a -s -warning -validate Y:\!temp\ccc\e1860e9fa4d303052314ca98def2f8296935c18a.2136500.jpg
---- ExifTool ----
Warning : Entries in IFD0 are out of order
Warning : Tag ID 0x0131 Software out of sequence in IFD0
Warning : [minor] Non-standard IPTC at JPEG-APP13-Photoshop-IPTC
Warning : IPTCDigest is not current. XMP may be out of sync
Warning : Missing required JPEG ExifIFD tag 0x9000 ExifVersion
Warning : Missing required JPEG ExifIFD tag 0x9101 ComponentsConfiguration
Warning : Missing required JPEG ExifIFD tag 0xa000 FlashpixVersion
Warning : Missing required JPEG IFD0 tag 0x011a XResolution
Warning : Missing required JPEG IFD0 tag 0x011b YResolution
Warning : Missing required JPEG IFD0 tag 0x0128 ResolutionUnit
Warning : Missing required JPEG IFD0 tag 0x0213 YCbCrPositioning
Validate : 11 Warnings (1 minor)