| 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 |
Thread2004.05.21 10:16 "Re: Further doubt on bits per sample", by Gerben VosBob Friesenhahn wrote: > On Tue, 18 May 2004 mayankg@iiitb.ac.in wrote: > > > I further have a doubt, > > 1. How does the bits per sample cases of 1,4 or 5 are > > handled by the libtiff library? Does the readstrip/readtile > > functions return the data, such that, the > > pixel values are always packed in byte boundaries? > > Nope. For strips, pixel values are packed without any padding. Except at the end of every row (scanline). There, padding bits are added if necessary, so the next row starts at a byte boundary. Gerben Vos. |
|||||||