Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas018.isp.belgacom.be (localhost [127.0.0.1])
        by inav028.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k05HNnrW011566
        for <joris.at.lebbeke@skynet.be>; Thu, 5 Jan 2006 18:23:50 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx009.isp.belgacom.be (inmx009.isp.belgacom.be [195.238.5.146])
        by inas018.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k05HNhjB026089
        for <joris.at.lebbeke@skynet.be>; Thu, 5 Jan 2006 18:23:45 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx009.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id k05HNeeb005718
        for <joris.at.lebbeke@skynet.be>; Thu, 5 Jan 2006 18:23:40 +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 k05HHTT7022896;
	Thu, 5 Jan 2006 12:17:52 -0500
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k05HHQgt022893
	for <tiff@lists.maptools.org>; Thu, 5 Jan 2006 12:17:26 -0500
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by scooby.simplesystems.org (8.12.10+Sun/8.12.10) with ESMTP id
	k05HHPus025209; Thu, 5 Jan 2006 11:17:25 -0600 (CST)
Date: Thu, 5 Jan 2006 11:17:24 -0600 (CST)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@blade.simplesystems.org
To: Rocky Pulley <rockytriton@yahoo.com>
Subject: Re: [Tiff] Open tiff in memory
In-Reply-To: <20060105161829.35720.qmail@web54315.mail.yahoo.com>
Message-ID: <Pine.SOC.4.60.0601051115320.4804@blade.simplesystems.org>
References: <20060105161829.35720.qmail@web54315.mail.yahoo.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
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.000010e7
X-MSP-STORE: Thu, 05 Jan 2006 18:23:54 +0100
Status:   

On Thu, 5 Jan 2006, Rocky Pulley 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.

Yes.  See the TIFFClientOpen() function.  It allows you to define a 
set of functions for doing libtiff I/O in an arbitrary fashion.  So 
you can do I/O to memory by supplying a set of functions to do so.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
