Return-Path: <tiff-bounces@remotesensing.org>
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx016.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j37BDCrK024502
        for <joris.at.lebbeke@skynet.be>; Thu, 7 Apr 2005 13:13:17 +0200
        (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 96B5A1971CC8; Thu,  7 Apr 2005 07:12:56 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from outmx015.isp.belgacom.be (outmx015.isp.belgacom.be
	[195.238.2.87])
	by xserve.flids.com (Postfix) with ESMTP id 9FD6E1971CA2
	for <tiff@remotesensing.org>; Thu,  7 Apr 2005 07:12:54 -0400 (EDT)
Received: from outmx015.isp.belgacom.be (localhost [127.0.0.1])
	by outmx015.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with
	ESMTP id j37BCqO4030229
	for <tiff@remotesensing.org>; Thu, 7 Apr 2005 13:12:52 +0200
	(envelope-from <joris.at.lebbeke@skynet.be>)
Received: from dfgrrxsknr4e (219-128.246.81.adsl.skynet.be [81.246.128.219])
	by outmx015.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with SMTP
	id j37BChQH030154; Thu, 7 Apr 2005 13:12:43 +0200
	(envelope-from <joris.at.lebbeke@skynet.be>)
Message-ID: <000901c53b62$f2ad61d0$db80f651@dfgrrxsknr4e>
From: "Joris" <joris.at.lebbeke@skynet.be>
To: <jjmb@cconline.es>, <tiff@remotesensing.org>
References: <20050407074522.ZKYV1111.smtp05.retemail.es@smtp05>
Subject: Re: [Tiff] Load a TIFF image from database
Date: Thu, 7 Apr 2005 13:14:17 +0200
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: 000000000023ceae.000000a1
X-MSP-STORE: Thu, 07 Apr 2005 13:13:23 +0200
Status:   

Joan,

> I wonder if anyone can provide me with a snippet of Delphi (any version) to
> load and view a TIFF image stored in a BLOB field (ORACLE 8i) in a
> TImage control using LibTiffDelphi.
>
> I understand how to view a TIFF image from a directory, but we have all of the
> images in a database and we can't load them.

LibTiffDelphi includes an added TIFFOpenStream function. This one allowes you to
open a TIFF from a *seekable* Delphi TStream. Using the TBlobStream thingy, does
this solve your problem? In other words, are you able to get at a TBlobStream,
and is it seekable? (I have little or no knowledge about Oracle or any
relational database stuff.)


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
