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);
1.4m articles
1.4m replys
5 comments
57.0k users