PDA

Click to See Complete Forum and Search --> : Games & Graphics Programming


damtech
Feb 6th, 2001, 06:20 PM
I'm trying to find out how to have .bmp/.jpeg file's resized to a pre-set size when loaded into a picture box, then have it saved to a pre-set directory (at the pre-set size) with a set file name? Anyone who can help me with this will be well Rewarded!

Fox
Feb 6th, 2001, 06:31 PM
Use the StretchBlt API to stretch the picture to decided size, then use SavePicture to save it back to a file or download the JPG demo from my website to save as JPEG. (There's a nice screenshot demo on my site showing how to capture the screen, copy to a picture and save to disk...)

damtech
Feb 6th, 2001, 07:34 PM
Thankyou very much Fox for your tips on this, i'm no rocket scientist so creating the project i was hoping to create seems a little out of my reach just yet, but i gues we all start somewhere, hey!

Thanks for your valuble input. I will surely be surfing your website often, Thanks again.
Damien.