Warning: [minor] Entries in IFD0 were out of sequence. - and files not updated

Started by Velo145, January 14, 2024, 04:09:24 PM

Previous topic - Next topic

Velo145

I want to (recursively) change/overwrite/add the following tags in multiple eps files:

exiftool -r -overwrite_original -ext eps \
-xmp-dc:rights='Copyright © INFO' \
-xmp-dc:Creator='CREATOR' \
-xmp-photoshop:Credit='CREDIT TO' \
-xmp-xmprights:WebStatement='HTTPS://URL/LANDING' \
-xmp-plus:LicensorName='LICENSOR' \
-xmp-plus:LicensorURL='HTTPS://URL' \
-xmp-iptcCore:CreatorWorkURL='HTTPS://URL' \
~/Desktop/TEST_DIRECTORY

When I ran this on a test directory I received this error for every eps file in my directory (including sub directories):

Warning: [minor] Entries in IFD0 were out of sequence. Fixed.

And then it did not update any files.  :(

I'm guessing that the problem is that about half of the eps files in the directory have the above tags already (and I want to change them), and about half of the eps files do not (and I want to add them).

Do I need to add something to my command so it changes (the tags already there) and adds (to the ones that don't have the tags)?

Here is a eps with the tags that I want to change (tags previously added using Adobe Illustrator and/or Abobe Bridge):

[ExifTool]      ExifToolVersion                 : 12.70
[System]        FileName                        : Basset-Hound-1-v-a-brp.eps
[System]        Directory                       : .
[System]        FileSize                        : 5.9 MB
[System]        ResourceForkSize                : 403 bytes
[System]        FileModifyDate                  : 2023:12:09 18:59:35-10:00
[System]        FileAccessDate                  : 2024:01:14 10:58:43-10:00
[System]        FileInodeChangeDate             : 2024:01:14 10:22:05-10:00
[System]        FilePermissions                 : -rw-r--r--
[File]          FileType                        : EPS
[File]          FileTypeExtension               : eps
[File]          MIMEType                        : application/postscript
[File]          ExifByteOrder                   : Little-endian (Intel, II)
[PostScript]    TIFFPreview                     : (Binary data 5101657 bytes, use -b option to extract)
[PostScript]    Title                           : Basset-Hound-1-v-a-brp.eps
[PostScript]    Creator                         : Adobe Illustrator(R) 16.0
[PostScript]    For                             : L4L
[PostScript]    CreateDate                      : 12/9/23
[PostScript]    BoundingBox                     : 0 0 2497 2497
[PostScript]    AICreatorVersion                : 16.0.4
[PostScript]    Pages                           : 1
[PostScript]    Version                         : 1.0 0
[PostScript]    Copyright                       : Copyright(C)2000-2006 Adobe Systems, Inc. All Rights Reserved.
[PostScript]    Version                         : 2.0 0
[PostScript]    Copyright                       : Copyright(C)1997-2007 Adobe Systems, Inc. All Rights Reserved.
[PostScript]    Copyright                       : Copyright 1997-2006 Adobe Systems Incorporated. All Rights Reserved.
[PostScript]    Version                         : 2.31 0
[PostScript]    Copyright                       : Copyright 1987-2006 Adobe Systems Incorporated.
[PostScript]    Version                         : 1.23 0
[PostScript]    Copyright                       : Copyright 1987-2004 Adobe Systems Incorporated.
[PostScript]    Version                         : 1.0 0
[PostScript]    Copyright                       : Copyright 1987-2001 Adobe Systems Incorporated.
[PostScript]    Version                         : 1.0 0
[PostScript]    Copyright                       : Copyright(C)2000-2006 Adobe Systems, Inc. All Rights Reserved.
[PostScript]    Creator                         : Adobe Illustrator(R) 16.0
[PostScript]    AICreatorVersion                : 16.0.4
[PostScript]    For                             : L4L,
[PostScript]    Title                           : Basset-Hound-1-v-a-brp.eps
[PostScript]    CreateDate                      : 12/9/23 6:56 PM
[IFD0]          SubfileType                     : Full-resolution image
[IFD0]          ImageWidth                      : 1595
[IFD0]          ImageHeight                     : 1595
[IFD0]          BitsPerSample                   : 8
[IFD0]          Compression                     : Uncompressed
[IFD0]          PhotometricInterpretation       : RGB Palette
[IFD0]          SamplesPerPixel                 : 2
[IFD0]          PlanarConfiguration             : Chunky
[IFD0]          StripOffsets                    : 830520
[IFD0]          StripByteCounts                 : 5088050
[IFD0]          ColorMap                        : (Binary data 1536 bytes, use -b option to extract)
[IFD0]          ExtraSamples                    : Associated Alpha
[Photoshop]     ClippingPathName                : Path
[XMP-x]         XMPToolkit                      : Adobe XMP Core 5.3-c011 66.145661, 2012/02/06-14:56:27
[XMP-dc]        Format                          : application/postscript
[XMP-dc]        Title                           : Basset Hound 1 Digital Vector Dog Art
[XMP-dc]        Rights                          : © 2023 Rap Sheet Designs
[XMP-dc]        Description                     : Basset Hound 1 Puppy Dog Smiling Happy Face download SVG EPS PNG for Art Print Design on Retro Background
[XMP-dc]        Creator                         : Rap Sheet
[XMP-dc]        Subject                         : Basset Hound, Bloodhound, Hound, Scent, Puppy, Dog, Smiling, Happy, Face, Pet, Animal, Young, download, SVG, EPS, PNG, Art, Print, Design, Retro, Background, Stock art, Digital, Cut-ready, Cricut, Vector, High Resolution, DTG, On-demand, Clip Art, Cutting, Colorful, Decor, Custom, Lettering, Personalized, Printable, Craft, Canine, Pet, Pet Gift, Canis familiaris, Canis lupus familiaris, Man's Best Friend, Pooch, Googie, Modernism, Doggie, Companion, Service Dog, Service Animal, Hi Res, Hi Rez
[XMP-xmp]       CreatorTool                     : Adobe Illustrator CS6 (Macintosh)
[XMP-xmp]       ModifyDate                      : 2023:12:09 18:56:15-10:00
[XMP-xmp]       MetadataDate                    : 2023:12:09 18:59:35-10:00
[XMP-xmp]       CreateDate                      : 2023:11:15 17:18:47-10:00
[XMP-xmp]       Rating                          : 5
[XMP-xmp]       ThumbnailWidth                  : 256
[XMP-xmp]       ThumbnailHeight                 : 220
[XMP-xmp]       ThumbnailFormat                 : JPEG
[XMP-xmp]       ThumbnailImage                  : (Binary data 14533 bytes, use -b option to extract)
[XMP-xmpMM]     RenditionClass                  : proof:pdf
[XMP-xmpMM]     OriginalDocumentID              : uuid:65E6390686CF11DBA6E2D887CEACB407
[XMP-xmpMM]     DocumentID                      : xmp.did:0741C0FB0A2068118083E052B0026377
[XMP-xmpMM]     InstanceID                      : xmp.iid:43F89F7607206811822A9D91D07426E3
[XMP-xmpMM]     DerivedFromInstanceID           : xmp.iid:0641C0FB0A2068118083E052B0026377
[XMP-xmpMM]     DerivedFromDocumentID           : xmp.did:0641C0FB0A2068118083E052B0026377
[XMP-xmpMM]     DerivedFromOriginalDocumentID   : uuid:65E6390686CF11DBA6E2D887CEACB407
[XMP-xmpMM]     DerivedFromRenditionClass       : proof:pdf
[XMP-xmpMM]     HistoryAction                   : saved, saved, saved
[XMP-xmpMM]     HistoryInstanceID               : xmp.iid:02801174072068118083E052B0026377, xmp.iid:0741C0FB0A2068118083E052B0026377, xmp.iid:43F89F7607206811822A9D91D07426E3
[XMP-xmpMM]     HistoryWhen                     : 2023:12:09 18:54:16-10:00, 2023:12:09 18:56:15-10:00, 2023:12:09 18:59:35-10:00
[XMP-xmpMM]     HistorySoftwareAgent            : Adobe Illustrator CS6 (Macintosh), Adobe Illustrator CS6 (Macintosh), Adobe Bridge CS6 (Macintosh)
[XMP-xmpMM]     HistoryChanged                  : /, /, /metadata
[XMP-xmpTPg]    NPages                          : 1
[XMP-xmpTPg]    HasVisibleTransparency          : False
[XMP-xmpTPg]    HasVisibleOverprint             : False
[XMP-xmpTPg]    MaxPageSizeW                    : 2500.000000
[XMP-xmpTPg]    MaxPageSizeH                    : 2500.000000
[XMP-xmpTPg]    MaxPageSizeUnit                 : Pixels
[XMP-xmpTPg]    PlateNames                      : Cyan, Magenta, Yellow, Black
[XMP-xmpTPg]    SwatchGroupName                 : Default Swatch Group, Grays
[XMP-xmpTPg]    SwatchGroupType                 : 0, 1
[XMP-pdf]       Producer                        : Adobe PDF library 10.01
[XMP-illustrator] Type                          : Document
[XMP-illustrator] StartupProfile                : Print
[XMP-xmpRights] Marked                          : True
[XMP-xmpRights] WebStatement                    : https://www.rapsheetdesigns.com/licenses
[XMP-photoshop] DateCreated                     : 2023:07:12
[XMP-photoshop] Credit                          : Rap Sheet Designs
[XMP-plus]      PLUSVersion                     : 1.2.0
[XMP-plus]      LicensorName                    : Rap Sheet
[XMP-plus]      LicensorURL                     : https://www.rapsheetdesigns.com
[XMP-iptcCore]  CreatorWorkURL                  : https://www.rapsheetdesigns.com
[Composite]     ImageHeight                     : 2497
[Composite]     ImageWidth                      : 2497
[Composite]     ImageSize                       : 2497x2497
[Composite]     Megapixels                      : 6.2

And here is and eps without the tags:

[ExifTool]      ExifToolVersion                 : 12.70
[System]        FileName                        : Basset-Hound-1-v-a-ber.eps
[System]        Directory                       : .
[System]        FileSize                        : 5.9 MB
[System]        ResourceForkSize                : 403 bytes
[System]        FileModifyDate                  : 2023:12:31 10:30:10-10:00
[System]        FileAccessDate                  : 2024:01:14 10:44:05-10:00
[System]        FileInodeChangeDate             : 2024:01:14 10:40:20-10:00
[System]        FilePermissions                 : -rw-r--r--
[File]          FileType                        : EPS
[File]          FileTypeExtension               : eps
[File]          MIMEType                        : application/postscript
[File]          ExifByteOrder                   : Little-endian (Intel, II)
[PostScript]    TIFFPreview                     : (Binary data 5101656 bytes, use -b option to extract)
[PostScript]    Title                           : Basset-Hound-1-v-a-ber.eps
[PostScript]    Creator                         : Adobe Illustrator(R) 16.0
[PostScript]    For                             : L4L
[PostScript]    CreateDate                      : 12/31/23
[PostScript]    BoundingBox                     : 0 0 2497 2497
[PostScript]    AICreatorVersion                : 16.0.4
[PostScript]    Pages                           : 1
[PostScript]    Version                         : 1.0 0
[PostScript]    Copyright                       : Copyright(C)2000-2006 Adobe Systems, Inc. All Rights Reserved.
[PostScript]    Version                         : 2.0 0
[PostScript]    Copyright                       : Copyright(C)1997-2007 Adobe Systems, Inc. All Rights Reserved.
[PostScript]    Copyright                       : Copyright 1997-2006 Adobe Systems Incorporated. All Rights Reserved.
[PostScript]    Version                         : 2.31 0
[PostScript]    Copyright                       : Copyright 1987-2006 Adobe Systems Incorporated.
[PostScript]    Version                         : 1.23 0
[PostScript]    Copyright                       : Copyright 1987-2004 Adobe Systems Incorporated.
[PostScript]    Version                         : 1.0 0
[PostScript]    Copyright                       : Copyright 1987-2001 Adobe Systems Incorporated.
[PostScript]    Version                         : 1.0 0
[PostScript]    Copyright                       : Copyright(C)2000-2006 Adobe Systems, Inc. All Rights Reserved.
[PostScript]    Creator                         : Adobe Illustrator(R) 16.0
[PostScript]    AICreatorVersion                : 16.0.4
[PostScript]    For                             : L4L,
[PostScript]    Title                           : Basset-Hound-1-v-a-ber.eps
[PostScript]    CreateDate                      : 12/31/23 10:30 AM
[IFD0]          SubfileType                     : Full-resolution image
[IFD0]          ImageWidth                      : 1595
[IFD0]          ImageHeight                     : 1595
[IFD0]          BitsPerSample                   : 8
[IFD0]          Compression                     : Uncompressed
[IFD0]          PhotometricInterpretation       : RGB Palette
[IFD0]          SamplesPerPixel                 : 2
[IFD0]          PlanarConfiguration             : Chunky
[IFD0]          StripOffsets                    : 831476
[IFD0]          StripByteCounts                 : 5088050
[IFD0]          ColorMap                        : (Binary data 1536 bytes, use -b option to extract)
[IFD0]          ExtraSamples                    : Associated Alpha
[Photoshop]     ClippingPathName                : Path
[XMP-x]         XMPToolkit                      : Adobe XMP Core 5.3-c011 66.145661, 2012/02/06-14:56:27
[XMP-dc]        Format                          : application/postscript
[XMP-dc]        Title                           : Flash Builder
[XMP-xmp]       CreatorTool                     : Adobe Illustrator CS6 (Macintosh)
[XMP-xmp]       CreateDate                      : 2023:12:31 10:30:08-10:00
[XMP-xmp]       ModifyDate                      : 2023:12:31 10:30:08-10:00
[XMP-xmp]       MetadataDate                    : 2023:12:31 10:30:08-10:00
[XMP-xmp]       ThumbnailWidth                  : 256
[XMP-xmp]       ThumbnailHeight                 : 256
[XMP-xmp]       ThumbnailFormat                 : JPEG
[XMP-xmp]       ThumbnailImage                  : (Binary data 14182 bytes, use -b option to extract)
[XMP-xmpMM]     RenditionClass                  : proof:pdf
[XMP-xmpMM]     OriginalDocumentID              : uuid:65E6390686CF11DBA6E2D887CEACB407
[XMP-xmpMM]     DocumentID                      : xmp.did:BA7DB702E7216811822A94DF4C8071E6
[XMP-xmpMM]     InstanceID                      : xmp.iid:BA7DB702E7216811822A94DF4C8071E6
[XMP-xmpMM]     DerivedFromInstanceID           : xmp.iid:86BF3EF5E6216811822A94DF4C8071E6
[XMP-xmpMM]     DerivedFromDocumentID           : xmp.did:86BF3EF5E6216811822A94DF4C8071E6
[XMP-xmpMM]     DerivedFromOriginalDocumentID   : uuid:65E6390686CF11DBA6E2D887CEACB407
[XMP-xmpMM]     DerivedFromRenditionClass       : proof:pdf
[XMP-xmpMM]     HistoryAction                   : saved, saved
[XMP-xmpMM]     HistoryInstanceID               : xmp.iid:A53F2971E4216811822A94DF4C8071E6, xmp.iid:BA7DB702E7216811822A94DF4C8071E6
[XMP-xmpMM]     HistoryWhen                     : 2023:12:31 10:27:54-10:00, 2023:12:31 10:30:08-10:00
[XMP-xmpMM]     HistorySoftwareAgent            : Adobe Illustrator CS6 (Macintosh), Adobe Illustrator CS6 (Macintosh)
[XMP-xmpMM]     HistoryChanged                  : /, /
[XMP-illustrator] StartupProfile                : Web
[XMP-xmpTPg]    NPages                          : 1
[XMP-xmpTPg]    HasVisibleTransparency          : False
[XMP-xmpTPg]    HasVisibleOverprint             : False
[XMP-xmpTPg]    MaxPageSizeW                    : 2500.000000
[XMP-xmpTPg]    MaxPageSizeH                    : 2500.000000
[XMP-xmpTPg]    MaxPageSizeUnit                 : Points
[XMP-xmpTPg]    PlateNames                      : Cyan, Magenta, Yellow, Black
[XMP-xmpTPg]    SwatchGroupName                 : Default Swatch Group, Grays
[XMP-xmpTPg]    SwatchGroupType                 : 0, 1
[XMP-pdf]       Producer                        : Adobe PDF library 10.01
[Composite]     ImageHeight                     : 2497
[Composite]     ImageWidth                      : 2497
[Composite]     ImageSize                       : 2497x2497
[Composite]     Megapixels                      : 6.2

Velo145

Update: I get the error

Warning: [minor] Entries in IFD0 were out of sequence. Fixed. - /USER/DIR/FILE.EPS

when I run it on a eps WITH the existing XMP tags or the eps files without them.

I do have the tags ordered in the same sequence as how they are shown when I have exiftool retrieve the exif metadata from the file. Is that what "out of sequence" refers to?

The eps files are vector art drowings (no embedded files) were created from Adobe Illustrator CS6 Mac and additional metadata - specifically the fields I need to change - were added in Adobe CS6 Bridge.

Would be grateful for any suggestions as I have to find a way to change these fields.

StarGeek

The "out of sequence" is only fixed if you write a tag in that group. I believe this warning can show up in either EXIF or IPTC.  If I remember correctly, this technically applies to the data that has been read and is in memory.

For the most part it can be ignored. Most programs that read EXIF data are robust enough to read the data anyway, though I suspect that is probably mostly due to "lazy" programming rather than exactly following the spec.  Bascially "if this tag ID, then it means that" rather than "read tag id 1 and process, then read tag id 2 and process, etc"

Quote from: Velo145 on January 14, 2024, 06:59:32 PMUpdate: I get the error

Warning: [minor] Entries in IFD0 were out of sequence. Fixed. - /USER/DIR/FILE.EPS

when I run it on a eps WITH the existing XMP tags or the eps files without them.

XMP tags are written in a different location than EXIF, so it doesn't matter if the file has XMP or not.

QuoteI do have the tags ordered in the same sequence as how they are shown when I have exiftool retrieve the exif metadata from the file. Is that what "out of sequence" refers to?

You do not need to worry about the order you place the tags on the command line.  Exiftool takes care of this in the background.  It instead means that some program wrote the EXIF data incorrectly and the data hasn't been written in the proper order.

QuoteWould be grateful for any suggestions as I have to find a way to change these fields.

The easiest thing to do would be to add
-ExifVersion=0232
The ExifVersion is a required, but otherwise useless EXIF tag.  This will force a re-write of the EXIF data which will fix it.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Velo145

Partially solved the problem.

First, I added -ExifVersion=0232 to the top line of the command.

With this added, the command did update the image. However, it only updated the eps files that already had those preexisting tags (matching those in the command). The others files remained as is.

But it still threw the error:

Warning: [minor] Entries in IFD0 were out of sequence. Fixed. - /DIR/FILE.EPS

So next, I also added -m to the top line of the code. So, my first line looks like this:

exiftool -r -ExifVersion=0232 -overwrite_original -ext eps -m \
This also updated the eps files with preexisting tags (matching those in the command), but not the ones without. And it then threw a new error:

Warning: Can't write XMP to PostScript-format Illustrator files - /DIR/FILE.EPS

I would prefer that all the eps files get updated with the tags, but I am fine if the ones that don't have the preexisting tags don't.

I would like to figure out how to get rid of the new error (all errors), so I can run this on a large directory.

Ideas?

Velo145

From 10 years ago:

Quote from: Phil Harvey on April 18, 2013, 07:32:58 AMSorry, but if ExifTool uses the standard technique to embed XMP in older Illustrator EPS files then Illustrator can no longer read the file.  For this reason, I have disabled writing of XMP to these files.

- Phil

I'm OK with not writing to the the eps files that don't have the preexisting XMP fields, but if the error doesn't go away with -m in the command, is there another option to "ignore" the error?

Phil Harvey

There is no way to ignore this error because in all likelyhood Illustrator won't be able to read the file if ExifTool does this.

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

Velo145

Quote from: Phil Harvey on January 14, 2024, 09:58:09 PMThere is no way to ignore this error because in all likelyhood Illustrator won't be able to read the file I ExifTool does this.

- Phil

Darn.  Back to Adobe Bridge for those.