Newly-constructed TIFF out of photoshop does not validate

Started by dd-b, August 13, 2023, 03:05:18 PM

Previous topic - Next topic

dd-b

I've been having some problems in an application I'm writing using the library. The test code for this application uses the command-line application, and I've been running into some problems, or at least things I didn't understand. To eliminate possible causes, I've been checking the state of my original test files, before I make any changes to them.

And have found an annoying issue.

I'm running Photoshop CC 2023 (24.7.0 release) (on Windows 10), and then copying the files over to a FreeBSD box (because that's where the application I'm developing runs), where I'm running Exiftool 12.50 (from the FreeBSD binary package install).

I created this test file from scratch in Photoshop on my Windows system. I created a new 640x480 document, 8-bit color, and draw a few squiggles in it plus one line of type, then flattened layers and saved it as a tiff. I never looked at or touched the metadata in Photoshop. This file has not been written by anything but Photoshop in the initial creation.

When I copied this tiff file to my FreeBSD dev system and asked exiftool to validate it, I got warnings (not even minor warnings):
$ exiftool  -validate -warning -a t2.tif
Validate                        : 2 Warnings
Warning                         : Missing required TIFF ExifIFD tag 0x9000 ExifVersion
Warning                         : Missing required TIFF ExifIFD tag 0xa000 FlashpixVersion

A few other routes to creating a tiff in Photoshop lead me to similar results.

So, what should I do? Should I ignore these warnings and be confident that later problems (which are with IPTC and XMP data, not EXIF data, for what that's worth) are not consequences of these warnings? Is there something I can do to fix the files? (Sorry, but not using Photoshop in my photo workflows is not an option. 800 pound gorillas and all that.) Other suggestions?

The attached file is the test file I used above.

Phil Harvey

I can't really answer these questions.  Some badly-written software may not want to read these files.  But honestly, the only software I have seen that barfs on similar problems is Adobe software.

I wouldn't bother fixing these unless you found a compatibility problem with some software.

You might want to report this to Adobe though.

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