ODD One out Quiz

Friday, 28 March 2014

C# code to save the image

// code to save the image which is shown in picture box.
{
SaveFileDialog sa = new SaveFileDialog();
sa.Filter = "Image |*.jpg |PNG | *.png";

sa.ShowDialog();

Image.IsAlphaPixelFormat(System.Drawing.Imaging.PixelFormat.Extended);
pictureBox1.Image.Save(sa.FileName);

}

No comments:

Post a Comment