AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2006.09.20 06:24 "[Tiff] <1 bit raw file for tiff file format>", by Geeta Sharma
2006.09.20 14:03 "Re: [Tiff] <1 bit raw file for tiff file format>", by Andrey Kiselev
2006.09.20 14:31 "RE: [Tiff] <1 bit raw file for tiff file format>", by
2006.09.20 15:02 "Re: [Tiff] <1 bit raw file for tiff file format>", by Andrey Kiselev
2006.09.20 15:03 "Re: [Tiff] <1 bit raw file for tiff file format>", by Joris Van Damme
2006.09.20 14:42 "Re: [Tiff] <1 bit raw file for tiff file format>", by Gerben Vos

2006.09.20 15:03 "Re: [Tiff] <1 bit raw file for tiff file format>", by Joris Van Damme

Bernie,

Pallek, Bernie: #CIPO - OPIC wrote:

> Andrey wrote:
> >

Your TIFF file is perfectly legal. It has ImageWidth=180, ImageLength=145 and StripByteCounts=3335. It is easy to calculate:

tiffdump says:

RowsPerStrip (278) SHORT (3) 1<356>

356 rows per strip, when image length is 145? That seems a bit

> fishy, no?

Fishy... sure. But strictly speaking not invalid, and most readers should be expected to survive. Remember that this is strips, and any last strip is truncated (unlike is the case with tiles), so any value RowsPerStrip value bigger then or equal to ImageLength just means it's a single strip image and the single strip is ImageLength rows. You could change it to 3356, and still it would be a perfectly valid file with no other change required.

But, sure, it's fishy. If I was Irfan, I'd want to investigate nonetheless.

Best regards,

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html