Return-Path: <tiff-bounces@lists.maptools.org>
Received: from mailgate001.isp.belgacom.be (mailgate001.isp.belgacom.be [195.238.6.86])
        by maildelivery004.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id l6BDT6YS001101
        for <joris.at.lebbeke@skynet.be>; Wed, 11 Jul 2007 15:29:08 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from r153.dmsolutions.ca (HELO duke.maptools.org) ([209.217.116.153])
  by in.mx.skynet.be with ESMTP; 11 Jul 2007 15:29:08 +0200
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l6BDHG9U008194;
	Wed, 11 Jul 2007 09:17:39 -0400
Received: from smtp.kreisbote.de (smtp.kreisbote.de [195.243.114.61])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l6BDHCtu008191
	for <tiff@lists.maptools.org>; Wed, 11 Jul 2007 09:17:13 -0400
Received: from mail.kreisbote.de (m8.merkur-online.de [195.243.114.8])
	by smtp.kreisbote.de (Postfix) with ESMTP id 286DC30011
	for <tiff@lists.maptools.org>; Wed, 11 Jul 2007 15:17:11 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by mail.kreisbote.de (Postfix) with ESMTP id 8792117E62B
	for <tiff@lists.maptools.org>; Wed, 11 Jul 2007 15:17:11 +0200 (CEST)
Received: from mail.kreisbote.de ([127.0.0.1])
	by localhost (mail.kreisbote.de [127.0.0.1]) (amavisd-new, port 10027)
	with ESMTP id 22681-10 for <tiff@lists.maptools.org>;
	Wed, 11 Jul 2007 15:17:10 +0200 (CEST)
Received: from mail.kreisbote.de (localhost [127.0.0.1])
	by mail.kreisbote.de (Postfix) with ESMTP id 2CF5417E5FA
	for <tiff@lists.maptools.org>; Wed, 11 Jul 2007 15:17:10 +0200 (CEST)
Mime-Version: 1.0 (Apple Message framework v752.2)
Message-Id: <961001B5-C9AC-452F-8415-27670E0C0374@kreisbote.de>
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
To: tiff@lists.maptools.org
From: Oliver Geisen <oliver.geisen@kreisbote.de>
Date: Wed, 11 Jul 2007 15:17:09 +0200
X-Mailer: Apple Mail (2.752.2)
X-MIME-Autoconverted: from quoted-printable to 8bit by duke.maptools.org id
	l6BDHCtu008191
Subject: [Tiff] bit-padding on TIFFReadScanline ?
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by maildelivery004.isp.belgacom.be id l6BDT6YS001101
X-UIDL: 000000000023ceae.000025df
X-MSP-STORE: Wed, 11 Jul 2007 15:29:11 +0200
Status:   

Hello,

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

Assume the following:

Bit: 7654321
Pix: XX.....

X =3D pixel set (black)
. =3D 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 =20
and have no clue how to solve this... except by bit-maskerading.

any ideas?


Oliver Geisen
Systemadministrator
_____________________________
Kreisboten Verlag M=FChlfellner KG
82362 Weilheim i. Ob.
Tel. 0881/686-904
Fax 0881/686-74
Sitz Weilheim, AG M=FCnchen, HRA 64016, p.h.G.:
Kreisboten-Verlag Verwaltungsgesellschaft mbH,
Weilheim, AG M=FCnchen, HRB 119773,
Gesch=E4ftsf=FChrer: Dr. Dirk Ippen, Dr. Gerd Waldenmaier




_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
