Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas022.isp.belgacom.be (localhost [127.0.0.1])
        by inav015.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k05Hi2bP032392
        for <joris.at.lebbeke@skynet.be>; Thu, 5 Jan 2006 18:44:02 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx001.isp.belgacom.be (inmx001.isp.belgacom.be [195.238.5.1])
        by inas022.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k05Hhv2E022865
        for <joris.at.lebbeke@skynet.be>; Thu, 5 Jan 2006 18:43:57 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx001.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id k05HhpST005818
        for <joris.at.lebbeke@skynet.be>; Thu, 5 Jan 2006 18:43:52 +0100
        (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 k05HcDhs023302;
	Thu, 5 Jan 2006 12:38:28 -0500
Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k05HcA4v023299
	for <tiff@lists.maptools.org>; Thu, 5 Jan 2006 12:38:10 -0500
Received: by wproxy.gmail.com with SMTP id 68so2615622wra
	for <tiff@lists.maptools.org>; Thu, 05 Jan 2006 09:38:09 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=WiGLFs1IDCNwxSVH7mPctWsHMTP3JScqr4M2Zx/wTxRfCFoGmKz/aTYU5VCoitHGt0u3qNvQ+r4aY5DF9mVNrRGpJBD4kgsmeHjMCgR/oTRygl/42MImTGkNwKuggMNTvy/85dcWvT/gRtzK0S7QQicVqqfGo12j3/DNXyFWCtE=
Received: by 10.65.249.15 with SMTP id b15mr1402791qbs;
	Thu, 05 Jan 2006 09:38:08 -0800 (PST)
Received: by 10.65.151.20 with HTTP; Thu, 5 Jan 2006 09:38:08 -0800 (PST)
Message-ID: <931f8ea90601050938n4ede23fdx976de701b8b22465@mail.gmail.com>
Date: Thu, 5 Jan 2006 12:38:08 -0500
From: Frank Warmerdam <warmerdam@pobox.com>
To: Rocky Pulley <rockytriton@yahoo.com>
Subject: Re: [Tiff] Open tiff in memory
In-Reply-To: <20060105161829.35720.qmail@web54315.mail.yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <931f8ea90601041034y4f12c6bfta105a1beee08370c@mail.gmail.com>
	<20060105161829.35720.qmail@web54315.mail.yahoo.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by duke.maptools.org id
	k05HcA4v023299
Cc: tiff@lists.maptools.org
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.000010e9
X-MSP-STORE: Thu, 05 Jan 2006 18:44:07 +0100
Status:   

On 1/5/06, Rocky Pulley <rockytriton@yahoo.com> wrote:
> Hey, does anyone know how to use something like TIFFOpen from a byte array?
> I already have the TIFF loaded in memory and I'm currently writing to a temp
> file to use TIFFOpen.

Rocky,

You might want to look at the contents of the
contrib/mfs directory of libtiff.

I have successfully used a derived solution for
in memory access in my GDAL library.

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@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
