// 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);
{
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