AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2008.08.11 10:44 "[Tiff] Supporting images > 2gb", by alexander johnson
2008.08.11 16:09 "Re: [Tiff] Supporting images > 2gb", by Bob Friesenhahn
2008.08.19 08:57 "Re: [Tiff] Premature EOL at line 0 of strip 4294967295 (got 0, expected 1728).", by Bogdan Cristea
2008.08.18 12:19 "[Tiff] Premature EOL at line 0 of strip 4294967295 (got 0, expected 1728).", by Bogdan Cristea
2008.08.18 15:43 "Re: [Tiff] Premature EOL at line 0 of strip 4294967295 (got 0, expected 1728).", by Bob Friesenhahn
2008.08.18 16:28 "[Tiff] Re: large number in warning for tif_decoderow", by Richard Nolde

2008.08.18 16:28 "[Tiff] Re: large number in warning for tif_decoderow", by Richard Nolde

I am trying to deal with raw fax data in order to compute the image length and then to save data in a TIFF file. The "Fax4Decode" gives me the above warning. I use this routine in the following manner:

        while (fakeFile->tif_rawcc > 0)
        {
                if (!((*fakeFile->tif_decoderow)(fakeFile, (tidataval_t *)rowBuf,
(tsize_t)lineSize, (tsample_t)0)))
                {

etc.

 It is odd for me that the strip number is so big. I want to get rid of this

warning. Any suggestions?

The large number is 2^32 - 1, which suggests you may have a signed/unsigned parameter mismatch in your function call or your warning handler. Check the types for your arguments.

Richard Nolde