Return-Path: <tiff-admin@remotesensing.org>
Received: from inas003.isp.belgacom.be (inas003.isp.belgacom.be [195.238.2.13])
        by six.skynet.be (8.12.9/8.12.9/Skynet-MAILSTORE-2.14) with ESMTP id i19K34K5004350
        for <joris.at.lebbeke@skynet.be>; Mon, 9 Feb 2004 21:03:04 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from zed.skynet.be (zed.skynet.be [195.238.3.233])
        by inas003.isp.belgacom.be (8.12.9/8.12.9/Skynet-IN-AS-2.03) with ESMTP id i19K2WbS020682
        for <joris.at.lebbeke@skynet.be>; Mon, 9 Feb 2004 21:02:38 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from yoda.imagelinks.com ([208.24.120.42])
        by zed.skynet.be (8.12.9/8.12.9/Skynet-IN-2.32) with ESMTP id i19K1u9J013402
        for <joris.at.lebbeke@skynet.be>; Mon, 9 Feb 2004 21:01:57 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from yoda.imagelinks.com (localhost.localdomain [127.0.0.1])
	by yoda.imagelinks.com (8.11.6/8.11.2) with ESMTP id i19K02l31082;
	Mon, 9 Feb 2004 15:00:02 -0500
Received: from sabre.velocet.net (postfix@sabre.velocet.net [216.138.209.205])
	by yoda.imagelinks.com (8.11.6/8.11.2) with ESMTP id i19Jxal31044
	for <tiff@remotesensing.org>; Mon, 9 Feb 2004 14:59:36 -0500
Received: from pobox.com (H156.C195.tor.velocet.net [216.138.195.156])
	by sabre.velocet.net (Postfix) with ESMTP
	id 340E313877D; Mon,  9 Feb 2004 14:59:33 -0500 (EST)
Message-ID: <4027E6A6.1000704@pobox.com>
From: Frank Warmerdam <warmerdam@pobox.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
Cc: Don Ellis <dellis@mmtglobal.com>, tiff@remotesensing.org
Subject: Re: [Tiff] Photoshop 8.0 and libtiff
References: <Pine.GSO.4.44.0402091337020.25869-100000@scooby.simplesystems.org>
In-Reply-To: <Pine.GSO.4.44.0402091337020.25869-100000@scooby.simplesystems.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: tiff-admin@remotesensing.org
Errors-To: tiff-admin@remotesensing.org
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Post: <mailto:tiff@remotesensing.org>
List-Subscribe: <http://remotesensing.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
List-Id: TIFF and libtiff discussion <tiff.remotesensing.org>
List-Unsubscribe: <http://remotesensing.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://remotesensing.org/pipermail/tiff/>
Date: Mon, 09 Feb 2004 14:59:34 -0500
X-UIDL: b9c422aee799c823eb9da82c7ecd4c70

Bob Friesenhahn wrote:
> I am sure that this change could be accomplished, however, before any
> steps are taken, the API should be looked at to verify there is any
> advantage from doing so.  32-bit operating systems commonly reserve
> 1GB, or 2GB of the process address space for their own use.  For
> example, Windows provides the application with a maximum 2GB of usable
> address space.  This range is handled by the existing signed size
> type.
> 
> If the API provides access to the strip via a single memory
> allocation, then it will certainly be impossible to access more than a
> 2GB strip on a typical 32-bit OS.  A 64-bit application on a 64-bit OS
> could deal with this just fine except there would be thrashing if
> there is not enough RAM.
> 
> Improving the API to support iterative access to a strip would be a
> superior solution.  Then an unsigned 32-bit offset type and a signed
> 32-bit size type would be more than sufficient.  Does this iterative
> interface already exist?

Bob,

Your point is good, but the "trick" is that libtiff already "auto-splits"
single strip files into more managable strips under some circumstances (it
has to be uncompressed I think).  So, it should be practical to work with
these large one-strip files as long as they aren't compressed.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://remotesensing.org/mailman/listinfo/tiff
