问题描述
我使用MVC 4构建Web应用程序。我需要实现多将TIFF图像转换为一个单一的PDF一个功能。
I am using MVC 4 to build a web application. I need to implement a functionality that will convert multiple Tiff images to a single PDF.
我已经看过类似的东西iTextSharp的。
I have looked at things like ItextSharp.
有没有其他人做过这样的事情过吗?什么工具/库你用过?
Has anyone else done something like this before? what tools/libraries have you used?
感谢
推荐答案
我的的大风扇。虽然它可以做多文件转换这么多,但它确实做了pretty好。使用.NET库
I am big fan of ImageMagick. Though it can do so much more than file conversion, it does do that pretty well. Use the .NET library Magick.NET
下面是一些示例code到
Here is some sample code to convert to PDF
要测试使用命令行工具,这里是它是如何做(的nofollow的>)
To test using the command line tool, here is how it's done (from ImageMagick forum):
转换Gears.tif -density 72 Gears.pdf
这篇关于多个TIFF转换成在.NET单一的PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!