|
-
Feb 21st, 2000, 11:11 PM
#1
Thread Starter
Junior Member
Seem to be on a mission today...
How do you store an image inside an Access Database without it taking up so much disk space.
If i store a file which size was say 80k, once saved in the database the file size increases by 3 meg....em!...not good
Help would be appreciated.
-
Feb 22nd, 2000, 01:38 AM
#2
Lively Member
Are you embedding the images, or are you linking to them?
Linking to them would probably minimize the footprint.
-
Feb 22nd, 2000, 02:12 AM
#3
Thread Starter
Junior Member
I'm embedding them....I know i could save the file directory and filename and call the required image when the record is displayed.....dont really want to do this.
I think the problem stems from VB takes the file size prior to resizng it into an image box. I think I need to write something that reduces the size of the image prior to commiting it to the actual database.
Waddaya thinx?
-
Feb 22nd, 2000, 02:13 AM
#4
Thread Starter
Junior Member
I'm embedding them....I know i could save the file directory and filename and call the required image when the record is displayed.....dont really want to do this.
I think the problem stems from VB taking the file size prior to resizing it into an image box. I think I need to write something that reduces the size of the image prior to commiting it to the actual database.
Waddaya thinx?
-
Feb 22nd, 2000, 02:43 AM
#5
Lively Member
I'm not sure.
I don't have enough experience with Images to really give you the answer you want.
Possibly resizing it prior to embedding it would do it, but I don't know.
You're not using BMPs are you? 
-
Feb 22nd, 2000, 06:15 AM
#6
Thread Starter
Junior Member
Nah...not using BMP's 
I reduced the image size manually to the same size as the imagebox and the amount of disk space reduced from 3 meg down to about 100k which was better. So, I think I'm right in saying that althought the imagebox resizes the image it still retains the original size?????
So if anyone knows how to rezize an image before I load it to the imagebox, it would really be appreciated.
Thanks for your time m8
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|