Picture size explosion

J

Jon

I have an OLE object field in a form for pictures. I can
place 2 x 32KB pictures into the database only to find
that the database has increased in size by 2MB.

My first question is why the explosion in size?

Second question is how can I counter act the sizing
aspect. I need to keep the pictures. I tried compacting
and saved no room.
 
B

Bruce M. Thompson

I have an OLE object field in a form for pictures. I can
place 2 x 32KB pictures into the database only to find
that the database has increased in size by 2MB.

My first question is why the explosion in size?

Second question is how can I counter act the sizing
aspect. I need to keep the pictures. I tried compacting
and saved no room.

You answers will be answered at the following page at The Access Web:

Handle/Display images in forms/database
http://www.mvps.org/access/forms/frm0030.htm

:)
 
D

Douglas J. Steele

Access is very inefficient at storing images. While the .JPG format
compresses, Access actually expands each image when storing.

The recommended approach is to store the images as files external to the
database, and just store a path to the file in Access.

See http://www.mvps.org/access/forms/frm0030.htm and
http://www.mvps.org/access/forms/frm0044.htm at "The Access Web" for
details.

If it's critical that the images be stored in the database, Stephen Lebans
has code that uses the Intel Jpeg library to avoid the bloat. Check
http://www.lebans.com/loadsavejpeg.htm for details.
 

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