| 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 |
Thread2006.06.02 17:08 "Re: TIFFWriteRawStrip with multi-strip?", by Bernie Pallek> > However, I'd like to now use an arbitrary value for rows-per-strip. > > But this means I need to find the byte offsets within 'someBuffer' > > so I can call TIFFWriteRawStrip repeatedly, incrementing the strip > > number. The crux? Since the data is compressed, how in the crap > > will I know where each strip's data begins within 'someBuffer'? > > Each strip is going to vary in size. > > This type of compression, G4, encodes each scanline relative > to previous scanline. The first scanline is encoded relative to a > 'virtual' all-white line. So if you divide the block, the first part > will make sense, the second will be corrupted. There's no way you > can work around that. That's too bad, although I expected as much. Cheers! - b. |
|||||||