在C#转换.EPS到图像 [英] Converting .EPS to Image in C#

查看:727
本文介绍了在C#转换.EPS到图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在C#
I一个EPS文件转换为System.Drawing.Image对象已经tryed使用ImageMagickNET,但没有奏效-.-

How do i convert a eps file to System.Drawing.Image in C# i have tryed to use ImageMagickNET but that didn't work-.-

推荐答案

您已经试过ImageMagickNET,所以也有 ImageGlue ,但它是一个商业的解决方案,你将不得不支付。

You already tried ImageMagickNET, so there also is ImageGlue, but it is a commercial solution you will have to pay for.

长的方法是使用Ghostscript的。您可以使用的Ghostscript到EPS文件转换为图像,因此,所有你需要的是Ghostscript的一个C#包装,并在它扔EPS。

The long way is using Ghostscript. You can use Ghostscript to convert an EPS file to an image, so all you need is a C# wrapper for Ghostscript and throw the EPS at it.

您还可能只是想看着刚刚为你做转换第三方程序。例如。 的IrfanView 。它是免费的,并且可以编写脚本采取EPS并将其转换成别的东西。

You also might just want to look at third party programs just doing the conversion for you. E.g. IrfanView. It is free and could be scripted to take a EPS and convert it to something else.

这篇关于在C#转换.EPS到图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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