AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.02.07 01:01 "Please help test a TIF file for me... 60 seconds of your time", by Belshan, James
2003.02.07 01:09 "Re: Please help test a TIF file for me... 60 seconds of your time", by Phillip Crews
2003.02.07 01:14 "RE: Please help test a TIF file for me... 60 seconds of your time", by Brandon Gale
2003.02.07 06:54 "Re: Please help test a TIF file for me... 60 seconds of your time", by Kai-Uwe Behrmann
2003.02.07 16:40 "RE: Please help test a TIF file for me... 60 seconds of your time", by Peter Vince

2003.02.07 01:01 "Please help test a TIF file for me... 60 seconds of your time", by Belshan, James

Hi...

I wrote some code to change a TIFF tag in-place, and the resulting files appear to be valid TIFFs. It loads OK into MS Photo Editor, MS Imaging, Windows Explorer preview, Powerpoint...

I would really appreciate it if some people could try loading the attached image (an empty drawing border) into some other graphics tools (tifflib, Photoshop, etc) and let me know if any of the programs hiccup on it. Actually, please also reply if the program DOESN'T hiccup, so we don't get 10 tests of the same program.

My program may eventually be used to generate thousands of TIF files, and I would feel better knowing the files do not have errors.

Thank you for your help,

James

P.S. Here's all the TIF tags for IFD 0, in case you want to see them.

Tag Name,                 Type,    Count,  ValueOffset

ImageWidth,                SHORT,    1,    4600
ImageLength,               SHORT,    1,    7000
BitsPerSample,             SHORT,    1,    1
Compression,               SHORT,    1,    4
PhotometricInterpretation, SHORT,    1,    0
StripOffsets,              LONG,     250,  7492
SamplesPerPixel,           SHORT,    1,    1
RowsPerStrip,              LONG,     1,    28
StripByteCounts,           LONG,     250,  8492
XResolution,               RATIONAL, 1,    9758
YResolution,               RATIONAL, 1,    9894
PlanarConfiguration,       SHORT,    1,    1