2002.04.19 11:10 "fax2tiff problems...", by Siro Martello


I have been doing some work with the libtiff tool 'fax2tiff'. After having resolved a few problems to make it run on Windows, I have tested it using the g3test.g3 file from the provided pics folder. The pics folder contains a g3test.tif image that was generated with fax2tiff. I haven't been able to do the same using fax2tiff for g3test.g3 and I have received error messages saying "Line mismatch at scanline...(got...expected...)" and also "Premature EOL at scanline...(got...expected...)". Why did this happen? I was expecting fax2tiff to work OK with the file g3test.g3 as there is proof that it has worked with somebody else. All I get is a file with some garbage black and white pixels.

This worries me as I am in the process of writing a plugin reader for image data that contains CCITT G4 compressed data. I have tried to modify fax2tiff to read the raw G4 data with the hope I would have obtained a tiff image but again I obtained the same error messages as I did with g3test.g3 and no data were written into the tif file.

Thanks for any suggestion/help to solve the problem.

Best regards.

Siro Martello
Cadcorp Ltd

This email is confidential and may be privileged and should not be used,
read or copied by anyone who is not the original intended recipient. If you
have received this email in error please inform the sender and delete it
from your mailbox or any other storage mechanism. Unless specifically
stated, nothing in this email constitutes an offer by Cadcorp and Cadcorp
does not warrant that any information contained in this email is accurate.
Cadcorp cannot accept liability for any statements made which are clearly
the sender's own and not expressly made on behalf of Cadcorp or one of its
agents. Please rely on your own virus check. No responsibility is taken by
Cadcorp for any damage arising out of any bug or virus infection.