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

  • Thread starter Thread starter Guest
  • Start date Start date
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??
 
Back
Top