File Size?

Slice'N'Dice

New Member
Joined
Nov 28, 2004
Messages
16
Hi.

I have recently put a picture of my own as a background to one of my forms. After doing this, the file size of the database has increased from 1Mb to 16Mb, yet the picture was only 16Kb.

Why has the file size increased so much? Is there any way to get around this?

Many thanks.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Sorry, I just had to ask first :whistle:

I hope you can get a truly informed technical explanation, or at least either duplication or refutal from someone testing on your version (which is ...?). But I will propose that I believe that embedded pictures are stored in .BMP format, which is often hundreds of times the size of .JPGs.

See what your picture sizes out at by opening in Paint and saving as .BMP. Test using .BMPs as the background and see if there is still unreasonable bloat.

My suggestion is to consider changing the picture type from embedded to linked. From what I read, that practice may be the prevalent approach, even though linking has drawbacks.
 
Upvote 0
My version is Access XP.

Oh, I didn't know Access stores them in .bmp format!

Well, looks like my database will come to around 300Mb :eek:

I tried your suggestion on using .BMPs as the background, but the file size is pretty much the same, there is hardly any difference.

When you say drawbacks on linking, wil this create problems etc?
 
Upvote 0
Your test verified what I said about .BMP format embedding.

Linking is not a bad word per se in Access when if refers to linking to a table. Even linking to a table in a separate database has merit in some occasions (typically to manage restricting users' ability to modify design).

But if size is not an issue, embedding is better simply because you don't have to worry about having the file available when you want it - and particularly, on the same drive/directory specification that you save.

If the application is solely for personal use it's probably not a big deal, but if you distribute an app., generally speaking, the more self-contained-in-a-single-file, the better. And if there's a network involved, M.I.S. people often juggle file mappings (mostly to appear to justify their existence, IMNSHO :rolleyes: ).

But size matters too (don't believe any woman that says it doesn't :unsure: ), so there's a tradeoff you need to evaluate.
 
Upvote 0
Hmm, I see.

After considering both options I have come to the conclusion that:

Size will not be an issue, as afterall I will be storing my DB on a CD now (If it reaches the 700Mb mark I will be shocked!) :eek: . So I think I will stick to Access embedding my backgrounds.

I'll just have to live with the Forms taking a few seconds longer to load up than if they had no background.

Just goes to show, you can't have everything can you? Heh. :LOL:

Many thanks for all the help & information Gates! :biggrin: Appreciate it greatly. :wink:
 
Upvote 0

Forum statistics

Threads
1,221,877
Messages
6,162,583
Members
451,776
Latest member
bosvinn

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top