| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2005.01.21 20:44 "Re: JPEG (T.30-E, fax) in TIFF", by Andrey KiselevOn Thu, Jan 13, 2005 at 07:21:51AM -0800, Lee Howard wrote: > I've also produced the TIFF without the weird usage of > TIFFWriteRawStrip, and the problem persists. Instead, the problem > seems to do with the SamplesPerPixel tag, as I've noted before. When > it's set to "1" then I only get one value in > StripOffsets/StripByteCounts. When it's set to "3" then I get three > values in each. This happens no matter what I do with > TIFFWriteRawStrip. Hi, Lee, 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. Best regards, Andrey -- Andrey V. Kiselev Home phone: +7 812 5970603 ICQ# 26871517 |
|||||||