Results 1 to 13 of 13

Thread: Saving image created with System.Drawing.Graphics [resolved]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member Ultimasnake's Avatar
    Join Date
    Feb 2002
    Location
    Amsterdam, holland
    Posts
    1,172

    Saving image created with System.Drawing.Graphics [resolved]

    I am currently combining 2 images with each other with an System.Drawing.Graphics object.... but once i have done that i want to save the image but i cant seem to get an image from the .image or .backgroundimage property :s


    this is my code

    VB Code:
    1. Dim g As System.Drawing.Graphics = PictureBox3.CreateGraphics
    2.         g.DrawImage(PictureBox2.Image, 0, 0)
    3.         g.DrawImage(PictureBox1.Image, 0, 0)
    4.         g.Save()
    5.         g.Dispose()
    6.         PictureBox4.Image = PictureBox3.Image ' nothing happens here

    putting it on another image is just a test to see if it worked.. ofcourse i know that i should save through the bitmap object

    any help would be nice
    Last edited by Ultimasnake; Nov 3rd, 2003 at 08:34 AM.
    For my PC and MS Smartphone 2003 software visit
    http://www.ultimasoftware.nl

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