如何将图片框控件中的图片保存为jpeg [复制]

时间:2021-03-17 15:50:55

This question already has an answer here:

这个问题在这里已有答案:

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