Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx019.isp.belgacom.be (inmx019.isp.belgacom.be [195.238.3.138])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id j2FI9lNP011878
        for <joris.at.lebbeke@skynet.be>; Tue, 15 Mar 2005 19:09:47 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx019.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j2FI9XU1014460
        for <joris.at.lebbeke@skynet.be>; Tue, 15 Mar 2005 19:09:36 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id E9EE213A7376; Tue, 15 Mar 2005 13:09:18 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from outmx028.isp.belgacom.be (outmx028.isp.belgacom.be
	[195.238.3.49])
	by xserve.flids.com (Postfix) with ESMTP id 1251D13A7352
	for <tiff@remotesensing.org>; Tue, 15 Mar 2005 13:09:17 -0500 (EST)
Received: from outmx028.isp.belgacom.be (localhost [127.0.0.1])
	by outmx028.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with
	ESMTP id j2FI97nU000604
	for <tiff@remotesensing.org>; Tue, 15 Mar 2005 19:09:07 +0100
	(envelope-from <joris.at.lebbeke@skynet.be>)
Received: from dfgrrxsknr4e (106-172.245.81.adsl.skynet.be [81.245.172.106])
	by outmx028.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with SMTP
	id j2FI925l000571; Tue, 15 Mar 2005 19:09:02 +0100
	(envelope-from <joris.at.lebbeke@skynet.be>)
Message-ID: <001101c5298a$34494590$6aacf551@dfgrrxsknr4e>
From: "Joris" <joris.at.lebbeke@skynet.be>
To: "Roger Watkins" <RogerQuillDisc@insightbb.com>,
        "libTIFF group" <tiff@remotesensing.org>
References: <001c01c52988$4f65f460$6502a8c0@insightbb.com>
Subject: Re: [Tiff] Need to write CCITT T.6 encoded TIFF file data directly
	tomemory buffer
Date: Tue, 15 Mar 2005 19:09:57 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
Cc: 
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: 46d6f3da3d59f978070f7dd23cc1f29c

Roger,

> Based upon reading the archives, I expect direct load into a TMemoryStream
> is a little specific to ask of libTIFF

It isn't. LibTiffDelphi includes support for reading from and writing to a
TStream. I don't recommend you use LibTiffDelphi directly from within your BCB
code, of course, I don't even know if that's possible. But you could look at the
pascal code in the LibTiffDelphi.pas unit and translate the parts handling the
TStream to BCB C code.

(For people not familiar with this stuff: Delphi's VCL library that includes
this TStream thingy is used also in the Borland C++ Builder environment. Yes,
that's right, that's C users depending on a Pascal library instead of the other
way around.)

LibTiffDelphi is available for free download here:

http://www.awaresystems.be/imaging/tiff/delphi.html


Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html

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