C#从文件中读取JPEG并存储为图像

时间:2022-05-30 21:19:12

How can I read a JPEG on my filesystem and store it as a System.Drawing.Image within my C# code?

如何在我的文件系统上读取JPEG并将其作为System.Drawing.Image存储在我的C#代码中?

1 个解决方案

#1


60  

Image i = Image.FromFile("image.jpg");

If you need more information, here is the link.

如果您需要更多信息,请点击此链接。

#1


60  

Image i = Image.FromFile("image.jpg");

If you need more information, here is the link.

如果您需要更多信息,请点击此链接。