2005.01.07 20:18 "[Tiff] JPEG (T.30-E, fax) in TIFF", by Lee Howard
-
2005.01.08 02:36 "Re: [Tiff] JPEG (T.30-E, fax) in TIFF", by Joris Van Damme
-
2005.01.08 16:36 "Re: [Tiff] JPEG (T.30-E, fax) in TIFF", by Lee Howard
- 2005.01.08 23:03 "Re: [Tiff] JPEG (T.30-E, fax) in TIFF", by Joris Van Damme
-
2005.01.08 16:36 "Re: [Tiff] JPEG (T.30-E, fax) in TIFF", by Lee Howard
- 2005.01.20 23:41 "Re: [Tiff] JPEG (T.30-E, fax) in TIFF", by Lee Howard
- 2005.01.21 20:30 "Re: [Tiff] JPEG (T.30-E, fax) in TIFF", by Lee Howard
2005.01.21 22:19 "Re: [Tiff] JPEG (T.30-E, fax) in TIFF", by Lee Howard
You should set at least one of these two tags: ImageHeight or RowsPerStrip. If you skip both libtiff makes assumption that you have a strip for every component. I don't know why libtiff operates in such way, probably there was some reasoning in the first place. So just set the ImageHeight and problem should go away.
I think that you meant ImageLength.
In any case, I was using ImageLength, but I wasn't using it before SamplesPerPixel. After doing an additional "dummy" call to TIFFSetField(tif, TIFFTAG_IMAGELENGTH, 2000) just before setting SamplesPerPixel the problem goes away.
Thank you for your help.
Lee.