Results 1 to 3 of 3

Thread: Games & Graphics Programming

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2001
    Location
    Mount Gambier, South Australia, Australia.
    Posts
    2

    Question

    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!

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    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...)

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2001
    Location
    Mount Gambier, South Australia, Australia.
    Posts
    2

    Thumbs up Thankyou very much!

    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.

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