If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > Resize Images using VBA

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
Join Date: Feb 2002
Posts: 18
Resize Images using VBA

I have an application where users will be saving images in a jpg format.
This image is external to the database, the application just assists the user in uploading the image and a link to the image is stored in the db.

My Issue.
I would like to ensure a consistant size/resolution for these images.
Does anyone know of a method to resize the image using VBA.

Thanks in advance for any help.
Reply With Quote
  #2 (permalink)  
Old
Registered User
 
Join Date: Feb 2004
Posts: 199
Red face

What controll do you use to show image?
I used a "Kodak Image Edit Control" to manipalate with pictures
__________________
MDB, ADP <-> MS SQL + VBA, ADO & RDO, .NET, Oracle, Java/Jsp.
Reply With Quote
  #3 (permalink)  
Old
Registered User
 
Join Date: Feb 2002
Posts: 18
What control

The display control has not been determined at this time.

My request is to be able to change the uploaded image file itself to insure uniform sizing.

We wish to ensure that no mater what size the image the user wishs to upload, that we store a uniform resolution/size image. The file format will be jpg.
Reply With Quote
  #4 (permalink)  
Old
Registered User
 
Join Date: Feb 2002
Posts: 18
Update for those interested.

Update.
I found a soultion using ActiveImage activex control.
This seems to be able to do what I need.
For those that may need somethhing simular, check out the following site.

reference http://www.tonec.com
Reply With Quote
  #5 (permalink)  
Old
Registered User
 
Join Date: Mar 2004
Posts: 3
Kodak Image Controls

Hi,

The Kodak Image Controls (4 of them) seem to be a very suitable solution for you - but it's only available in 95, 98, NT or 2000. For XP and ME, there's the Windows Image Acquisition Layer (WIA).

If your equire something that works across all platforms, you will have to get something commercial - I suggest ImageExpress (Pegasus), ImageGear (Accusoft) or RasterMaster (Snowbound).

You can find imaging related information including the Kodak and WIA controls from:
http://www.ilixis.com/developer/toolkits.html

Regards.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On