AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
April 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.04.07 07:45 "Load a TIFF image from database", by Joan Micó
2005.04.07 11:14 "Re: Load a TIFF image from database", by Joris Van Damme

2005.04.07 11:14 "Re: Load a TIFF image from database", by Joris Van Damme

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