将 EPS/PDF 转换为 JPEG/PNG?

发布于 2024-07-21 15:15:54 字数 208 浏览 4 评论 0原文

我需要能够使用 .net 代码即时将 EPS 和 PDF 转换为 JPEG/PNG 以在网站上显示。

3 年前,我使用了 来自 WebSupergoo 的 ADC PDF,效果很好 - 但是从那时起,一些其他更好的选择很容易就会出现。

I need to be able to take EPS and PDF's and convert them to JPEG/PNG on the fly to display on a website - using .net code.

I used ADC PDF from WebSupergoo for this like 3 years ago, and it worked fine - but some other and better options could easily have surfaced since then.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

扶醉桌前 2024-07-28 15:15:54

您应该可以使用 ImageMagick 来做到这一点; 您可以从代码中调用命令行工具来进行转换。 他们还有一个名为 MagickNet 的 .Net 包装器 http://www.codeproject.com/KB /dotnet/ImageMagick_in_VBNET.aspx

You should be able to do this with ImageMagick; you could call the command line tool from your code to do conversion. They also have a .Net wrapper called MagickNet http://www.codeproject.com/KB/dotnet/ImageMagick_in_VBNET.aspx

泛泛之交 2024-07-28 15:15:54

如果您想要简单的转换,您可以使用 Ghostview...例如:

gswin32c -sDEVICE=png16m -r300x300 -sOutputFile=junk.png -dBATCH -dNOPAUSE Figure_001-a.pdf

将 300x300 DPI 的 PDF 转换为 png。

If you want simple conversion you can use ghostview... for example:

gswin32c -sDEVICE=png16m -r300x300 -sOutputFile=junk.png -dBATCH -dNOPAUSE Figure_001-a.pdf

Converts the PDF at a 300x300 DPI to a png.

晨与橙与城 2024-07-28 15:15:54

Foxit Reader是一款非常优秀的PDF阅读器。 他们有一个您可以使用的 SDK。 对于更多成像操作,请尝试使用类似工具包 www.atalasoft.com。 他们还有一个很棒的网络查看器。 查看他们的 domo http://www.atalasoft.com/ajaxannotations/default.aspx

Foxit Reader is a really good PDF reader. They have an SDK you can use. For more imaging operations try something like this toolkit www.atalasoft.com. they also have a great web viewer. see their domo at http://www.atalasoft.com/ajaxannotations/default.aspx

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文