Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas016.isp.belgacom.be (localhost [127.0.0.1])
        by inav019.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k52HEdYH001886
        for <joris.at.lebbeke@skynet.be>; Fri, 2 Jun 2006 19:14:39 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx002.isp.belgacom.be (inmx002.isp.belgacom.be [195.238.5.7])
        by inas016.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k52HEY6v009625
        for <joris.at.lebbeke@skynet.be>; Fri, 2 Jun 2006 19:14:35 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx002.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id k52HESbk023123
        for <joris.at.lebbeke@skynet.be>; Fri, 2 Jun 2006 19:14:28 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
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 k52H8Hrq023934;
	Fri, 2 Jun 2006 13:08:36 -0400
Received: from scmze001.ssan.egs-seg.gc.ca (scmze001.ssan.egs-seg.gc.ca
	[205.194.19.85])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k52H8Ew3023931
	for <tiff@lists.maptools.org>; Fri, 2 Jun 2006 13:08:14 -0400
Received: from bulwark1.ic.gc.ca ([192.197.178.1])
	by scmze001.ssan.egs-seg.gc.ca with ESMTP; 02 Jun 2006 13:08:13 -0400
Received: from msg-gate1.ic.gc.ca ([142.53.11.41]) by bulwark1.ic.gc.ca
	via smtpd (for scmze001.ssan.egs-seg.gc.ca [205.194.19.85]) with ESMTP;
	Fri, 2 Jun 2006 13:08:13 -0400
Received: from parapet11.ic.gc.ca (parapet11.ic.gc.ca [142.53.11.253])
	by msg-gate1.ic.gc.ca (Switch-3.1.8/Switch-3.1.7) with ESMTP id
	k52H8D1C029069
	for <tiff@lists.maptools.org>; Fri, 2 Jun 2006 13:08:13 -0400 (EDT)
Received: from msg-con2.icent.ic.gc.ca by parapet11.ic.gc.ca
	via smtpd (for msg-gate1.ic.gc.ca [142.53.11.41]) with ESMTP;
	Fri, 2 Jun 2006 13:08:13 -0400
Received: from msg-con1.icent.ic.gc.ca ([142.53.28.148]) by
	msg-con2.icent.ic.gc.ca with Microsoft SMTPSVC(6.0.3790.211); 
	Fri, 2 Jun 2006 13:08:52 -0400
Received: from msg-mb2.icent.ic.gc.ca ([142.53.28.151]) by
	msg-con1.icent.ic.gc.ca with Microsoft SMTPSVC(6.0.3790.211); 
	Fri, 2 Jun 2006 13:08:39 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: [Tiff] TIFFWriteRawStrip with multi-strip?
Date: Fri, 2 Jun 2006 13:08:12 -0400
Message-ID: <F78E6BBD22A6FC4489EBE25045407908036FA643@msg-mb2.icent.ic.gc.ca>
In-Reply-To: <002401c68662$8aef66a0$81c1f451@dfgrrxsknr4e>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Tiff] TIFFWriteRawStrip with multi-strip?
Thread-Index: AcaGYnvGxZ8VbMPbSyKLI0k6v/ISLwABE4XA
From: "Pallek, Bernie: #CIPO - OPIC" <Pallek.Bernie@ic.gc.ca>
To: <tiff@lists.maptools.org>
X-OriginalArrivalTime: 02 Jun 2006 17:08:39.0893 (UTC)
	FILETIME=[319F8850:01C68667]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by duke.maptools.org id
	k52H8Ew3023931
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
X-UIDL: 000000000023ceae.0000174f
X-MSP-STORE: Fri, 02 Jun 2006 19:14:40 +0200
Status:   

> -----Original Message-----
> > However, I'd like to now use an arbitrary value for rows-per-strip.
> > But this means I need to find the byte offsets within 'someBuffer'
> > so I can call TIFFWriteRawStrip repeatedly, incrementing the strip
> > number.  The crux?  Since the data is compressed, how in the crap
> > will I know where each strip's data begins within 'someBuffer'?
> > Each strip is going to vary in size.
> 
> This type of compression, G4, encodes each scanline relative 
> to previous scanline. The first scanline is encoded relative to a
> 'virtual' all-white line. So if you divide the block, the first part
> will make sense, the second will be corrupted. There's no way you 
> can work around that.

That's too bad, although I expected as much.  Cheers!

- b.

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