PDA

Click to See Complete Forum and Search --> : StretchBlt and Saving BMP


space_cadet
Sep 14th, 1999, 01:42 PM
Ok heres the situation...

I have generated an image in memory and now I have resized it using the API call stretchBlt and dumped it to a picturebox. Now I want to save the contents of that picture box. SavePicture DOES NOT WORK. Im guessing that savepicture save the contents of the Picture property and as bitblt/stretchblt draw on top of the picture box, Im not sure how the save the images I produce.

If anyone knows enough about WinAPI and VB5 to help, please do (and soon!)

Cheers!

Ben
ben@lwe.com

dffang
Sep 16th, 1999, 04:40 PM
After you dump the image to the picturebox control, try this

SavePicture picturebox1.image outputfile

instead of save .picture.


Dufei Fang