AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2007.09.23 16:42 "[Tiff] G3 fax: EOL needed at the beginning of each strip?", by ComSquare Martin Osieka
2007.09.24 01:27 "Re: [Tiff] G3 fax: EOL needed at the beginning of each strip?", by Bob Friesenhahn
2007.09.24 05:56 "Re: [Tiff] G3 fax: EOL needed at the beginning of each strip?", by Joris
2007.09.24 07:24 "Re: [Tiff] G3 fax: EOL needed at the beginning of each strip?", by ComSquare Martin Osieka
2007.09.24 07:51 "Re: [Tiff] G3 fax: EOL needed at the beginning of each strip?", by Joris
2007.09.24 08:01 "Re: [Tiff] G3 fax: EOL needed at the beginning of each strip?", by Andy Cave
2007.09.24 08:32 "Re: [Tiff] G3 fax: EOL needed at the beginning of each strip?", by Joris
2007.09.24 08:45 "Re: [Tiff] G3 fax: EOL needed at the beginning of each strip?", by Andy Cave
2007.09.24 09:03 "Re: [Tiff] G3 fax: EOL needed at the beginning of each strip?", by Joris
2007.09.24 08:52 "Re: [Tiff] G3 fax: EOL needed at the beginning of each strip?", by ComSquare Martin Osieka
2007.09.24 08:58 "Re: [Tiff] G3 fax: EOL needed at the beginning of each strip?", by Andy Cave

2007.09.23 16:42 "[Tiff] G3 fax: EOL needed at the beginning of each strip?", by ComSquare Martin Osieka

I'm using libtiff 3.8.2 to decode tiffs containing fax images.

Recently I received TIFFs showing white lines in the image.

I decoded them and detected that only the first strip started with an EOL but not the others.

The decoding of a strip always starts with SYNC_EOL() which eats up the first line of the strip if there's no EOL.

The result is that at the end of the strip one line is missing, which is filled up with white pixels.

I'm not sure what the TIFF specification tells. Do all strips have to start with EOL?

Or should the decoder be more relaxed and check if a strip starts with an EOL and skip it but not eating the line up to the first EOL?

Just to say these TIFFs do not show the white lines in tools provided with Windows XP but in others like Irfanview and my tool.

Could anybody who is more experienced in this area provide a patch?

Martin