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.
我需要能够获得EPS和PDF,并将它们转换为JPEG/PNG动态显示在一个网站上——使用。net代码。
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.
3年前,我在WebSupergoo上使用ADC PDF,效果很好,但从那时起,其他一些更好的选择就很容易出现了。
3 个解决方案
#1
2
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
你应该可以用ImageMagick做这个;您可以从代码中调用命令行工具进行转换。他们还有一个。net包装器,叫做MagickNet http://www.codeproject.com/KB/dotnet/ImageMagick_in_VBNET.aspx
#2
1
If you want simple conversion you can use ghostview... for example:
如果你想要简单的转换,你可以使用ghostview…例如:
gswin32c -sDEVICE=png16m -r300x300 -sOutputFile=junk.png -dBATCH -dNOPAUSE Figure_001-a.pdf
Converts the PDF at a 300x300 DPI to a png.
将300x300 DPI的PDF转换为png。
#3
0
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
Foxit Reader是一个很好的PDF阅读器。他们有一个你可以使用的SDK。更多的成像操作可以试试这个工具包www.atalasoft.com。他们也有很棒的网络浏览器。见http://www.atalasoft.com/ajaxannotations/default.aspx
#1
2
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
你应该可以用ImageMagick做这个;您可以从代码中调用命令行工具进行转换。他们还有一个。net包装器,叫做MagickNet http://www.codeproject.com/KB/dotnet/ImageMagick_in_VBNET.aspx
#2
1
If you want simple conversion you can use ghostview... for example:
如果你想要简单的转换,你可以使用ghostview…例如:
gswin32c -sDEVICE=png16m -r300x300 -sOutputFile=junk.png -dBATCH -dNOPAUSE Figure_001-a.pdf
Converts the PDF at a 300x300 DPI to a png.
将300x300 DPI的PDF转换为png。
#3
0
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
Foxit Reader是一个很好的PDF阅读器。他们有一个你可以使用的SDK。更多的成像操作可以试试这个工具包www.atalasoft.com。他们也有很棒的网络浏览器。见http://www.atalasoft.com/ajaxannotations/default.aspx