2003.02.07 01:01 "Please help test a TIF file for me... 60 seconds of your time", by James Belshan
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,
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