使用 Visual Studio 2005,有没有办法将图像列表中的图像导出到我的 PC 上的单个文件?使用 IDE,我选择图像列表并查看其属性。在“图像”属性中,我启动“图像集合编辑器”对话框。我只能添加和删除图像,但找不到导出列表中已有图像的方法。
为什么?制作原始列表的开发人员已离开我们公司,我需要 ASP.NET 应用程序的图像(将转换为 .jpeg)。
谢谢您的帮助!
Using Visual Studio 2005, is there a way to export the images in an Image List to individual files on my PC? Using the IDE, I select the Image List and view its properties. In the "Images" property, I launch the Images Collection Editor dialog. I can only add and remove images, but I cannot find a way to export an image that is already in the list.
Why? The developer who made the original list has left our company and I need the images for an ASP.NET application (will convert to .jpeg).
Thank you for the help!
发布评论
评论(2)
您可以编写一些简单的代码来导出图像。你没有提到你使用的是哪种语言,所以这里是 C# 和 VB 的解决方案。
C#
VB
You can write some simple code to export the images. You don't mention which language you are using, so here is the solution in both C# and VB.
C#
VB
在 codeproject 上有示例应用程序如何执行此操作。
我从嵌入式图像抓取器创建了一个新版本,它支持:
可以找到源代码 此处。
On codeproject there is example application how to do this.
I've created a new version from Embedded Image Grabber which supports:
SourceCode can be found here.