hi, i want to browse the image and display in picture box and the image should save in one folder, which may be in C: or D: drive, i used the following coding for browse and displaying in picture box
OpenFileDialog open = new OpenFileDialog();
open.Filter = "Image Files(*.jpg; *.jpeg; *.gif; *.bmp)|*.jpg; *.jpeg; *.gif; *.bmp";
if (open.ShowDialog() == DialogResult.OK)
{
Image img = new Bitmap(open.FileName);
string imagename = open.SafeFileName;
Txt_countrylogo.Text = imagename;
pictureBox2.Image = img.GetThumbnailImage(340, 165, null, new IntPtr());
open.RestoreDirectory = true;
}
now i need the help for saving the image in folder, Please suggest some idea.