如何加载EPS文件,使用的WinForms吸引他们 [英] How to load EPS files and draw them using WinForms

查看:132
本文介绍了如何加载EPS文件,使用的WinForms吸引他们的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能加载并使用普通的WinForms GDI +显示EPS文件?如果没有,有没有免费的图书馆,以帮助?

Is it possible to load and display EPS file using plain WinForms GDI+? If not, is there a free library to help out?

我似乎记得的Windows GDI支持的EPS文件,但逛了一下谷歌搜索后,我开始怀疑内存。

I seem to remember that Windows GDI supported EPS files, but after Googling around a bit, I am starting to doubt that memory.

我想要做的就是加载该文件,并使用图形上下文绘制它。

All I want to do is load the file and draw it using a Graphics context.

我知道我可以只使用任何程序将该文件转换为PNG或东西,使这样的说法,而是因为我想呈现的多种分辨率,我想preFER保持矢量数据EPS文件。

I am aware that I can just use any program to convert the file to PNG or something and render it that way, but because I am trying to render at multiple resolutions, I would prefer to keep the vector data in the EPS file.

谢谢!

推荐答案

您可以使用GhostScript的从每股收益产生图像。一旦你有一个形象,你就可以显示你的应用程序中。

You can use GhostScript to produce images from an EPS. Once you have an image you can then display that within your application.

这篇关于如何加载EPS文件,使用的WinForms吸引他们的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆