Results 1 to 3 of 3

Thread: [RESOLVED] Save PictureBox Bitmap

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2007
    Posts
    74

    Resolved [RESOLVED] Save PictureBox Bitmap

    Hi,
    I have 2 problems and wondering if anyone can help.
    1. I need to save an image that is in a PictureBox which is made up from drawing lines on it?
    2. How could i split this image up into smaller parts and save as a series of images?

    Many Thanks
    Mathy

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Save PictureBox Bitmap

    Possible solutions
    1. SavePicture Picture1.Image, path\filename
    2. Use a second picturebox (borderless & AutoRedaw=True) sized to the size you want to save in
    :: Use Picture2.PaintPicture to draw the portion from Picture1
    :: Save the Picture2 as noted in #1 above
    :: use CLS on the 2nd picturebox & repeat for the next section from Picture1
    Last edited by LaVolpe; Apr 18th, 2008 at 11:13 AM.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2007
    Posts
    74

    Re: Save PictureBox Bitmap

    Thanks
    Neven new SavePicture command existed.

    Mathy

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