AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
May 2002

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



2002.05.01 16:10 "format is invalid or not supported..", by Dustin Puryear

We are using Hylafax, which dumps received faxes as tiff images. In a very 
small minority of the images, we get an "Invalid compression type" in the 
Windows Kodac viewer. Okay, I've read that Kodac does not support 2-D MR 
compressed tiffs. (But then why don't all images produce this error?) If I 
try to convert the images using tiffcp -c or, in fact, if I just copy the 
tiff using tiffcp at all, I then get "The document's format is invalid or 
not supported" when viewing the image. Also, tiffcp gives me a warning 
message. Does this simply mean the tiff image is corrupted on the page that 
produces that error message, or is there something we can do to fix these 
images?

Here is what happens:

$ tiffcp bad_invalid_compression_type.tiff n.tiff
bad_invalid_compression_type.tiff: 0: Invalid strip byte count, strip 0.

If I open n.tiff I get the "The document's format is invalid or not 
supported" error message. If I try:

$ tiffcp -c g3:1d bad_invalid_compression_type.tiff n.tiff
bad_invalid_compression_type.tiff: 0: Invalid strip byte count, strip 0.

I get the same error. Notice in the first one I didn't even change the 
compression type.

If I just open bad_invalid_compression_type.tiff then I get the "Invalid 
compression type" error.

Any suggestions?

Regards, Dustin

---
Dustin Puryear <dpuryear@usa.net>
UNIX and Network Consultant
http://members.telocity.com/~dpuryear
PGP Key available at http://www.us.pgp.net
In the beginning the Universe was created.
This has been widely regarded as a bad move. - Douglas Adams