2007.07.11 13:17 "[Tiff] bit-padding on TIFFReadScanline ?", by Oliver Geisen

Hello,

if i use TIFFReadScanline to get a line of imagedata, how are pixels handeled which fall outside the byte boundary?

Assume the following:

Bit: 7654321
Pix: XX.....

X = pixel set (black)
. = pixel not set (white)

Are the "." undefined, or does libtiff set them to 0? I run into trouble with "noise" at the right hand side of my images and have no clue how to solve this... except by bit-maskerading.

any ideas?

Oliver Geisen
Systemadministrator
_____________________________
Kreisboten Verlag Mühlfellner KG
82362 Weilheim i. Ob.
Tel. 0881/686-904
Fax 0881/686-74
Sitz Weilheim, AG München, HRA 64016, p.h.G.:
Kreisboten-Verlag Verwaltungsgesellschaft mbH,
Weilheim, AG München, HRB 119773,
Geschäftsführer: Dr. Dirk Ippen, Dr. Gerd Waldenmaier