Received: from [207.113.13.68] by phillip.cerious.com (NTMail 3.03.0017/7.aaxh) with ESMTP id pcrews for <pcrews@cerious.com>; Wed, 21 Apr 1999 16:40:45 -0400
Received: from localhost (bin@localhost)
	by gate7.olympiakos.com (8.8.7/8.8.7) with SMTP id QAA15878;
	Wed, 21 Apr 1999 16:30:22 -0400
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Wed, 21 Apr 1999 16:21:14 -0400
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.8.7/8.8.7) id QAA15811
	for tiff-outgoing; Wed, 21 Apr 1999 16:21:12 -0400
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by gate7.olympiakos.com (8.8.7/8.8.7) with ESMTP id QAA15806
	for <tiff@olympiakos.com>; Wed, 21 Apr 1999 16:21:10 -0400
Received: from ziggy.wwnet.net (ziggy.wwnet.net [209.142.193.4]) 
	by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam:
       SGI does not authorize the use of its proprietary
       systems or networks for unsolicited or bulk email
       from the Internet.) 
	via ESMTP id QAA01451
	for <tiff@sgi.com>; Wed, 21 Apr 1999 16:21:05 -0400 (EDT)
	mail_from (szacks@imprsv.com)
Received: from Sim ([209.142.208.146])
	by ziggy.wwnet.net (8.9.3/8.9.3) with SMTP id QAA28717
	for <tiff@sgi.com>; Wed, 21 Apr 1999 16:21:04 -0400
Received: by localhost with Microsoft MAPI; Wed, 21 Apr 1999 16:24:26 -0400
Message-ID: <01BE8C13.6C577210.szacks@imprsv.com>
From: Sim Zacks <szacks@imprsv.com>
To: "'tiff@sgi.com'" <tiff@sgi.com>
Subject: scanlinesize
Date: Wed, 21 Apr 1999 16:24:25 -0400
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-tiff@olympiakos.com

I'm having a problem and I'm not sure if this is a libtiff bug or if it's a 
Windows thing or a mixture of both.
In Bitmaps the image has to be Word aligned and if it isn't it pads 0's at 
the end of the scanline.
When I read the tiff image into memory and I ask for scanLineSize, I expect 
it to give me the Word aligned Scanlinesize so I can use the image.
I am experiencing 2 problems. 1. when I read the data out in a strip it 
doesn't pad it with 0's so the image doesn't come on the screen at all.
2. When I do it with ScanLine  IO I have to figure out how many extra bytes 
to leabve off.

Is this a problem in Tiff or my implementation?

Thanks
Sim
