Export OLE embedded images to file

G

Geert Janssens

Hi,

I have a database containing a lot of images embedded in a OLE field. Since
the database is growing, I would like to export the images to external
files, and uses them as such.

I found a nice database on Stephen Lebans's website (www.lebans.com) that
exports embedded images to files. Unfortunatly, although the images are
exported, they are of a poor quality, meaning:
- they are tiny compared to the original image
- they look all jagged

Here is an original image:
http://users.telenet.be/a206457/AH-0011Borg.tif
And this is how it gets exported:
http://users.telenet.be/a206457/AH-0011B.JPG

I can export the original good-quality images manually like this:
- Open a form that shows the images in a OLE field
- Select the image field (single click!, double click opens an embedded
image editor)
- Copy the field (Ctrl-c)
- Paste the field in a Windows Explorer. This creates a scrapbook file in
that directory.
- Open the scrapbook file. In W2K this opens the file in Imaging.
- In Imaging, select Save a Copy
- I can save it as a tif file then, with it's original resolution and
quality intact.

Although this technique is nice for a few images, I really can't start doing
this on the more than 4000 images I have in the database (it's a stock
management program I developed).

Can anyone help me here ? Is it possible to keep the original's image
quality with minor modifications to Stephen's database, of is it possible
to programmatically do what I did to extract the original manually ?

Thank you.

Geert Janssens
 
G

Geert Janssens

Sorry for this double post, my news reader was acting up on me, I thought
the original message was lost.

Geert Janssens
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top