2001.12.13 18:02 "re: image data per strip", by Tom Brady

A quick question for the TIFF spec savy...

I was given a 1 bit/sample LZW compressed TIFF image with 512 rows per strip. The last strip of the file should have 45 rows of image data (91181 % 512), but it contains 512 rows of compressed image data.

My LZW decoder returns an error when it discovers more data than expected.

Is it correct to encode extra data into the last strip of an image - is this a valid TIFF file?

tom brady (not the NE quarterback)