How to save content of a picturebox to jpg or bmp??
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
i wish to create a save function to save the content of a picturebox to jpg or bmp format.. anyone can help me plz... any help is greatly appreciated...
Look into the Save and SaveAdd methods of the Image class. You'll get the Image from the PictureBox Image property. Something like this:
Dim imgToSave As Image = PictureBox1.Image imgToSave.Save("C:\\TestImage.bmp", ImageFormat.Bmp)
You'll have to specify the full path of the filename and the ImageFormat specification. RageInTheMachine9532