Return-Path: <tiff-bounces@lists.maptools.org>
Delivered-To: info@awaresystems.be
Received: (qmail 7283 invoked from network); 17 Jun 2008 12:04:38 -0000
Received: from judy.telenet-ops.be ([195.130.136.7])
          (envelope-sender <tiff-bounces@lists.maptools.org>)
          by angelia.telenet-ops.be (qmail-ldap-1.03) with SMTP
          for <info@awaresystems.be>; 17 Jun 2008 12:04:38 -0000
Received: from zimbu.telenet-ops.be (zimbu.telenet-ops.be [195.130.136.11])
	by judy.telenet-ops.be (8.13.1/8.13.1) with ESMTP id m5HC4cSj020767
	for <info@awaresystems.be>; Tue, 17 Jun 2008 14:04:38 +0200
Received: from localhost (localhost.localdomain [127.0.0.1])
	by zimbu.telenet-ops.be (Postfix) with SMTP id 3919A40004
	for <info@awaresystems.be>; Tue, 17 Jun 2008 14:04:38 +0200 (CEST)
Received: from iris.telenet-ops.be (iris.telenet-ops.be [195.130.132.41])
	by zimbu.telenet-ops.be (Postfix) with ESMTP id 30E2840002
	for <info@awaresystems.be>; Tue, 17 Jun 2008 14:04:38 +0200 (CEST)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153])
	by iris.telenet-ops.be (Postfix) with ESMTP id BB4EBEF996
	for <info@awaresystems.be>; Tue, 17 Jun 2008 14:04:37 +0200 (CEST)
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 m5HC1VWM031584;
	Tue, 17 Jun 2008 08:03:14 -0400
Received: from cgp2.pu.ru (cgp2.pu.ru [195.70.197.22])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id m5HC1SaI031581
	for <tiff@lists.maptools.org>; Tue, 17 Jun 2008 08:01:29 -0400
Received: from [195.70.196.218] (HELO wg.pu.ru)
	by cgp2.pu.ru (CommuniGate Pro SMTP 5.2.0)
	with ESMTP id 43682372 for tiff@lists.maptools.org;
	Tue, 17 Jun 2008 16:01:27 +0400
Received: (from uucp@localhost)
	by wg.pu.ru (8.9.1a/8.9.1) with UUCP id MAA07463
	for tiff@lists.maptools.org; Tue, 17 Jun 2008 12:01:27 GMT
Received: from ak4719.spb.edu (localhost.localdomain [127.0.0.1])
	by ak4719.spb.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5HBjvmS019308
	for <tiff@lists.maptools.org>; Tue, 17 Jun 2008 15:45:57 +0400
Received: (from dron@localhost)
	by ak4719.spb.edu (8.13.8/8.13.8/Submit) id m5HBjvmD019307
	for tiff@lists.maptools.org; Tue, 17 Jun 2008 15:45:57 +0400
From: Andrey Kiselev <dron@ak4719.spb.edu>
Date: Tue, 17 Jun 2008 15:45:57 +0400
To: tiff@lists.maptools.org
Subject: Re: [Tiff] Split one single strip into multiple strips in a single
	Tifffile
Message-ID: <20080617114557.GA19188@ak4719.spb.edu>
Mail-Followup-To: tiff@lists.maptools.org
References: <EMEW-k5FAupf42ff8ccea5d4a74f3356aa30639def7-D7270FEFCB9A7645B18C66F499E70AAF6DBC8C@obelopalix.home.qipc.com>
	<EMEW-k5FKxw628297ff106790e7dea4ad50fd21d3df-3B96007137B4CE4E85114278E640DC330131CA6B@namail3.corp.adobe.com>
	<EMEW-k5G9r7e695e3cd1972c08e0be15b58c264f099-D7270FEFCB9A7645B18C66F499E70AAF6DBC97@obelopalix.home.qipc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <EMEW-k5G9r7e695e3cd1972c08e0be15b58c264f099-D7270FEFCB9A7645B18C66F499E70AAF6DBC97@obelopalix.home.qipc.com>
X-GnuPG-Key: http://www.srces.spb.org/dron/export.home.key
X-Face: "t+se9s~+y~[XUH]L|pmeO3Pt/Q@DNv**S, d@_1-C=}/,
	c%<3Qp]eu!ok<"2lYJm$!9qVcg F?7o*L; |$`6|Q|>Rt-cU%2_y@6tQ|`!Li}TsvZvEKx;
	>fuY=fc(=sX^`7Wmw8%SsR`AvM$a; 0U/eN\ P?B\FTyqD, 0np$U2!*'z_4D,
	VPlFf?bN0&zYf"zF0s!7Tl7?$we)xD0@lL>[h|8bhys0i.g|zLnu@C
	Ti@d]i=[!:j1CB\5/TF[m]`lfHfaqSN[0qn@T3zeosV/[LAss{@p_?],x*j8P_9t[}uHD^X-;
	j~\M! gyTly;fj`}&Y~i{<#bN.#QmkE}#T`dxP.I1\.)_MEN{@#W
User-Agent: Mutt/1.5.13 (2006-08-11)
X-Null-Tag: b90ef2b5a1e79de2124e9e7b3101792c
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-SpamCatcher-Score: 75 [XX]

On Tue, Jun 17, 2008 at 09:53:01AM +0200, Rob Eisink wrote:
> Thanks, we use the TIFFReadEncodedStrip when we've determined the
> stripsize. From the documentation and from the LibTiff sources the
> interface is such that I can give a size of the data to read but I
> would expect a pointer back and read from that point on.
> 
> What do I miss?

You missed a strip chopping feature of libtiff which is supported for
years. Libtiff will automatically slice the single strip image in
multiple strips. See the --disable-strip-chopping and
--with-default-strip-size configure options (and appropriate nmake.opt
switches). That only works for uncompressed images, of course.

Best regards,
Andrey

-- 
Andrey V. Kiselev
ICQ# 26871517
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
