How can we save image files (types such as jpg or png) in C#?
in c# us the Image.Save Method with these parameters (string Filename , ImageFormat)
http://msdn.microsoft.com/en-us/library/9t4syfhh.aspx
Is that all you needed?
// Construct a bitmap from the button image resource. Bitmap bmp1 = new Bitmap(typeof(Button), "Button.bmp"); // Save the image as a GIF. bmp1.Save("c:\button.gif", System.Drawing.Imaging.ImageFormat.Gif);
2.1m questions
2.1m answers
60 comments
57.0k users