how to save content of picturebox to jpg or bmp??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

anyone can provide the codind to save the content of a picturebox to jpg or bmp??
 
You need to create a stream object and then use the "Image.Save" method.
You can save to a memory or file stream. For my database management thingy,
I'm saving to a memory stream (below), but same principle applies to files.

Dim stream As New System.IO.MemoryStream

theImage.Save(stream, System.Drawing.Imaging.ImageFormat.Jpeg)


MJ said:
anyone can provide the codind to save the content of a picturebox to jpg
or bmp??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top