The Black Ice Document Imaging
SDK/ActiveX has been updated with the new BiDB.DLL
and BiDB.OCX control which add support for direct
database operations. The purpose of the new
functionality is to add a new tool for the developer
that can be used to easily store and load images
from a database.
Storing images in a database is
often required in document archiving applications,
dynamic web pages, electronic surveillance systems,
etc. The images are stored as BLOBs (Binary Large
Objects) in the database. The Document Imaging
SDK/ActiveX provides several functions to save and
load the images to and from a database. The
developer can specify the database, table and record
where to store the image, and also operations to
traverse the next or previous record in a recordset.
Using the BiDB.DLL and BiDB.OCX
components, the developer can directly write (store)
a DIB (bitmap) into the database or read and, using
the BiDisp.DLL, display images stored in the
database.
In addition to DIBs, the Document
Imaging SDK/ActiveX can store any supported image
file in the database, including TIFF files, which
can later be decoded directly from a memory object
using the OpenTIFFInMemory() function. Using the
OpenTIFFInMemory() function eliminates the time
consuming steps of saving the TIFF data to a
temporary file before opening it with a TIFF
function. The TIFF is created in memory and every
operation (conversion, setting or reading TAGs,
etc.) is done in memory.