2005.04.29 19:44 "[Tiff] Adobe Photoshop Corrupt TIFF", by Bill Bither

2005.04.29 19:44 "[Tiff] Adobe Photoshop Corrupt TIFF", by Bill Bither

We have a few TIFF images from a customer that no software other than Adobe Photoshop CS will read. It is a straightforward RGB image with LZW compression. When I resave this image using Photoshop CS the only differences are the strip offsets. The strip offsets are obviously incorrect. Could there have been a bug in a version of Photoshop CS that generates these invalid TIFF's? Given that there could be thousands of these images around I would like to know how much efforts we should put in to support this since it will load in Photoshop, or if there is any advice on obtaining the correct strip offsets for this apparent corrupt image.

Original "corrupt" image:
SubFileType (1 Long): Zero
ImageWidth (1 Short): 1632
ImageLength (1 Short): 2464
BitsPerSample (3 Short): 8, 8, 8
Compression (1 Short): LZW
Photometric (1 Short): RGB
ImageDescription (158 ASCII): Duck Island Puffin 1/ 320s, at f/5.6 || E.Com...
Make (18 ASCII): NIKON CORPORATION
Model (10 ASCII): NIKON D2H
StripOffsets (47 Long): 22056659, 22151198, 22245330, 22341639,...
SamplesPerPixel (1 Short): 3
RowsPerStrip (1 Short): 53
StripByteCounts (47 Long): 94539, 94132, 96309, 98862, 100948, 100795,...
XResolution (1 Rational): 246.4
YResolution (1 Rational): 246.4
PlanarConfig (1 Short): Contig
ResolutionUnit (1 Short): Inch
Software (27 ASCII): Adobe Photoshop CS Windows
DateTime (20 ASCII): 2004:09:03 16:30:07
Predictor (1 Short): 2
700 (9855 Byte): 60, 63, 120, 112, 97, 99, 107, 101, 116, 32,...
Copyright (42 ASCII): Copyright Cardinal Photo / David Cardinal
RichTiffIPTC (63 Long): 540, 469893122, 2634053634, 1801680196,...
Photoshop (8242 Byte): 56, 66, 73, 77, 4, 4, 0, 0, 0, 0, 0, 249,...
34665 (1 Long): 19360
ICCProfile (560 Undefined):
37724 (22036072 Undefined):

Image re-saved with Photoshop
SubFileType (1 Long): Zero
ImageWidth (1 Short): 1632
ImageLength (1 Short): 2464
BitsPerSample (3 Short): 8, 8, 8
Compression (1 Short): LZW
Photometric (1 Short): RGB
ImageDescription (158 ASCII): Duck Island Puffin 1/ 320s, at f/5.6 || E.Com...
Make (18 ASCII): NIKON CORPORATION
Model (10 ASCII): NIKON D2H
StripOffsets (47 Long): 19922, 114462, 208594, 304904, 403766,...
SamplesPerPixel (1 Short): 3
RowsPerStrip (1 Short): 53
StripByteCounts (47 Long): 94539, 94132, 96309, 98862, 100948, 100795,...
XResolution (1 Rational): 246.4
YResolution (1 Rational): 246.4
PlanarConfig (1 Short): Contig
ResolutionUnit (1 Short): Inch
Software (27 ASCII): Adobe Photoshop CS Windows
DateTime (20 ASCII): 2005:04:29 15:06:39
Predictor (1 Short): 2
700 (9855 Byte): 60, 63, 120, 112, 97, 99, 107, 101, 116, 32,...
Copyright (42 ASCII): Copyright Cardinal Photo / David Cardinal
RichTiffIPTC (63 Long): 540, 469893122, 2634053634, 1801680196,...
Photoshop (8242 Byte): 56, 66, 73, 77, 4, 4, 0, 0, 0, 0, 0, 249,...
34665 (1 Long): 7108936
ICCProfile (560 Undefined):
37724 (22036072 Undefined):

Regards

Bill Bither
Atalasoft