I know this is going to sound daft but how can I save an image displayed in a picturebox ?
I have a third party twain control which displays a scanned image in a picturebox control but I want to save that image as something.
Printable View
I know this is going to sound daft but how can I save an image displayed in a picturebox ?
I have a third party twain control which displays a scanned image in a picturebox control but I want to save that image as something.
There is a sample here.
Code://Save Jpeg
pictureBox1.Image.Save("C:\\MyImage.Jpg",System.Drawing.Imaging.ImageFormat.Jpeg);
//Save Bmp
pictureBox1.Image.Save("C:\\MyImage.Bmp",System.Drawing.Imaging.ImageFormat.Bmp);
//Save Gif
pictureBox1.Image.Save("C:\\MyImage.Gif",System.Drawing.Imaging.ImageFormat.Gif);
Thankyou gentlemen.
Much appreciated.