【发布时间】:2013-02-07 18:14:04
【问题描述】:
我需要在从 OFD 打开图像后保存它。 这是我的自动取款机:
Dim ofd As New OpenFileDialog
ofd.Multiselect = True
ofd.ShowDialog()
For Each File In ofd.FileNames
Image.FromFile(File).Save("C:\Users\Jonathan\Desktop\e\tmp.png", Imaging.ImageFormat.png)
Next
在Image.FromFile(File).Save("C:\Users\Jonathan\Desktop\e\tmp.png", Imaging.ImageFormat.png) 行上出现错误。
(注意:应用程序将在此基础上构建,这只是我的第一个代码,需要保存而不是复制)
【问题讨论】: