dbTalk Databases Forums  

Displaying Pictures Saved as OLE objects

comp.database.ms-access comp.database.ms-access


Discuss Displaying Pictures Saved as OLE objects in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Martin
 
Posts: n/a

Default Displaying Pictures Saved as OLE objects - 12-07-2003 , 03:52 PM






Can anyone out there help me with this ? I have a database of a video
collection, which has the movie poster stored as one of the fields in an OLE
object.

I'm trying to display this poster on a web page linked through ODBC to the
access 2000 database. I'm using Access 2000, Windows 2000 Professional IIS
version 5, and Frontpage 2000 for web development.

Many Thanks in Advance !



Reply With Quote
  #2  
Old   
Exponent
 
Posts: n/a

Default Re: Displaying Pictures Saved as OLE objects - 12-08-2003 , 06:51 AM







This rather depends on exactly how the images were stored. The OLE Object field-type can store raw binary
image data, or it can be used with OLE Embedding, which stores the data in a proprietary undocumented format
that includes varying headers and often stores the image uncompressed (hence the overhead of anything from
5 to 100 *times* the original file size for jpeg images).

If you are storing the raw binary image data (recommended) then it's easy to stream the data directly to
a web browser (several samples on our site illustrate this - see the url in the sig below - you can download
them or view the code online).

If you are using OLE Embedding then the approach may depend on the specific OLE Server application that
was used to store the image. It will likely involve more coding, some assumptions, a very specific system
configuration and additional processing overhead to serve the images.
--
__________________________________________________ _____
http://www.ammara.com/
Image Handling Components, Samples, Solutions and Info
DBPix 2.0 - lossless jpeg rotation, EXIF, asynchronous



"Martin" <martin (AT) ownerdirect (DOT) com> wrote:
Quote:
Can anyone out there help me with this ? I have a database of a video
collection, which has the movie poster stored as one of the fields in an OLE
object.

I'm trying to display this poster on a web page linked through ODBC to the
access 2000 database. I'm using Access 2000, Windows 2000 Professional IIS
version 5, and Frontpage 2000 for web development.

Many Thanks in Advance !




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.