Received: from [207.113.13.68] by phillip.cerious.com (NTMail 3.03.0017/7.aaxh) with ESMTP id pcrews for <pcrews@cerious.com>; Thu, 22 Apr 1999 04:48:00 -0400
Received: from localhost (bin@localhost)
	by gate7.olympiakos.com (8.8.7/8.8.7) with SMTP id EAA18616;
	Thu, 22 Apr 1999 04:40:35 -0400
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Thu, 22 Apr 1999 04:37:46 -0400
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.8.7/8.8.7) id EAA18594
	for tiff-outgoing; Thu, 22 Apr 1999 04:37:45 -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 EAA18591
	for <tiff@olympiakos.com>; Thu, 22 Apr 1999 04:37:41 -0400
Received: from srz-berlin.de (ns.srz-berlin.de [212.5.11.1]) 
	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 EAA02939
	for <tiff@sgi.com>; Thu, 22 Apr 1999 04:37:37 -0400 (EDT)
	mail_from (H.Blischke@srz-berlin.de)
Received: from SunFrame1 (gw.srz-berlin.de [212.5.11.2])
	by srz-berlin.de (8.8.7/8.8.7) with SMTP id KAA16596;
	Thu, 22 Apr 1999 10:37:28 +0200
Message-ID: <371EDE0B.3DC4@srz-berlin.de>
Date: Thu, 22 Apr 1999 10:30:03 +0200
From: Helge Blischke <H.Blischke@srz-berlin.de>
Organization: SRZ BERLIN
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5.1 sun4m)
MIME-Version: 1.0
To: Sim Zacks <szacks@imprsv.com>
CC: "'tiff@sgi.com'" <tiff@sgi.com>
Subject: Re: scanlinesize
References: <01BE8C13.6C577210.szacks@imprsv.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-tiff@olympiakos.com

Sim Zacks wrote:
> 
> 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
The TIFF spec tells nothing about word alignements of scanlines, so
there is no need
for implementing such constraints.

Helge
-- 
H.Blischke@srz-berlin.de
H.Blischke@srz-berlin.com
H.Blischke@acm.org
