问题描述
我有一些 EPS 格式的图像,我想在我的 WPF 应用程序中使用它们.这可能吗?
I have a few images in EPS format which I would like to use in my WPF application. Is this possible?
如果没有,有没有办法将它们转换为 XAML,以便我可以直接在 WPF 中使用它们?我没有 Expression Design 或 Adobe Illustrator 的预算,而且只有几张图片需要转换.
If not, is there a way to convert them to XAML so I can use them directly in WPF? I don't have a budget for Expression Design or Adobe Illustrator, and there are only a few images to convert.
推荐答案
您可以使用 Inkscape http://www.inkscape.org/.它将允许您导入 EPS 文件,但您需要为此安装 GhostScript.Inkscape 使用 SVG 格式,并允许您从 SVG 导出到 XAML.
You can use Inkscape http://www.inkscape.org/. It will allow you to import EPS file, but you'll need to have GhostScript installed for that. Inkscape uses SVG format and will allow you to export from SVG to XAML.
这篇关于如何在 WPF 或 Silverlight 应用程序中使用 EPS 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!