2005.04.07 07:45 "[Tiff] Load a TIFF image from database", by Joan Jesús Micó

2005.04.07 11:14 "Re: [Tiff] 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