Results 1 to 2 of 2

Thread: StretchBlt and Saving BMP

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 1999
    Posts
    14

    Post

    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
    [email protected]

  2. #2
    New Member
    Join Date
    Aug 1999
    Posts
    1

    Post

    After you dump the image to the picturebox control, try this

    SavePicture picturebox1.image outputfile

    instead of save .picture.


    Dufei Fang

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width