This question already has an answer here:
这个问题在这里已有答案:
- How to save PictureBox.Image to file? 2 answers
- 如何将PictureBox.Image保存到文件? 2个答案
I have a picturebox on C# Windows Forms application. I want save image from picturesbox to file.
我在C#Windows Forms应用程序上有一个picturebox。我想将图片从图片框保存到文件。
Does anyone have any idea how can I do it?
有谁知道我该怎么做?
I newbie in programing...
我是新手编程......
1 个解决方案
#1
2
pictureBox.Image.Save(@"SomePath",ImageFormat.Jpeg);
#1
2
pictureBox.Image.Save(@"SomePath",ImageFormat.Jpeg);