Return-Path: owner-tiff@olympiakos.com
Return-Path: <owner-tiff@olympiakos.com>
Received: from localhost (localhost [127.0.0.1])
	by at1895.spb.edu (8.12.1/8.12.1/Debian -5) with ESMTP id g1L0PKeE021705
	for <dron@localhost>; Thu, 21 Feb 2002 03:25:20 +0300
Received: from eudoramail.com [209.185.123.45]
	by localhost with POP3 (fetchmail-5.9.0)
	for dron@localhost (single-drop); Thu, 21 Feb 2002 03:25:20 +0300 (MSK)
Received: from gate7.olympiakos.com ([64.32.199.150]) by shared1-mail.whowhere.com; Wed Feb 20 13:58:56 2002
Received: from localhost (daemon@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) with SMTP id QAA09577;
	Wed, 20 Feb 2002 16:41:09 -0500
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Wed, 20 Feb 2002 16:40:49 -0500
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) id QAA09561
	for tiff-outgoing; Wed, 20 Feb 2002 16:40:49 -0500
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from kodakr.kodak.com (kodakr.kodak.com [192.232.119.69])
	by gate7.olympiakos.com (8.9.3/8.9.3) with ESMTP id QAA09558
	for <tiff@olympiakos.com>; Wed, 20 Feb 2002 16:40:48 -0500
Received: from corpmail.kodak.com (corpmail.kodak.com [150.220.10.55])
	by kodakr.kodak.com (8.11.1/8.11.1) with ESMTP id g1KLer506620
	for <tiff@olympiakos.com>; Wed, 20 Feb 2002 16:40:53 -0500 (EST)
Received: from kodak.com ([150.246.28.12]) by corpmail.kodak.com
          (Post.Office MTA v3.5.3 release 223 ID# 592-58678U700L2S100V35)
          with ESMTP id com for <tiff@olympiakos.com>;
          Wed, 20 Feb 2002 16:40:46 -0500
Message-ID: <3C7417DD.6B9C5504@kodak.com>
Date: Wed, 20 Feb 2002 14:40:45 -0700
From: David Strip <david.strip@kodak.com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: tiff@olympiakos.com
Subject: Re: problem writing TIFF file in one strip
References: <3C72ED69.DC67A50D@kodak.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-tiff@olympiakos.com
Precedence: bulk
Status: RO
Content-Length: 556
Lines: 15

The answer to my own question (in case anyone cares):

I was trying to write out my image in a single strip using:

  int bytes_written = TIFFWriteRawStrip(tif, 1,
reinterpret_cast<void*>(image[0]), image.n() * 4);

of course, had I tried to do multiple strips, I would have looped from 0
to strip -1. You'll note the above line writes the single strip as strip
1, when it should have been strip 0.



To subscribe or unsubscribe email tiff-request@olympiakos.com with subscribe
or unsubscribe in the email body.  Libtiff home page: http://www.libtiff.org

