Storing an image in an RTF Control

G

Guest

I have a form with an RTF control. It can contain one or more images along
with text. The result is stored in a memo field in a table. As a record, the
field occupies about 200K. If I save the contents as an RTF file, the size
reduces to about 100K. If I save the file a jpg, the size reduces to about
30K. Is there a way to reduce the size of the storage footprint in the
Access table?

I don't need great resolution. I am capturing images from the screen and
expect the images to be displayed in the Access form that is sufficiently
readable.
 
S

Stephen Lebans

If I remember correctly, the JPG is inserted an OLE Image. This results in,
at the very least, a copy of the image being stored as an UNCOMPRESSED
Bitmap(actually, a DIB wrapped within a Metafile) and a Preview image, again
an uncompressed bitmap. Basically double the fun for your money.

When saved to an RTF disk file, the preview is removed from the file prior
to writing to disk..

The only solution would be for you to modify the resolution(and perhaps
color depth) of the original image. I would work strictly with Bitmaps and
avoid Jpeg.
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

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