converting multiple tiff to single pdf in .net

核能气质少年 提交于 2019-12-13 06:42:51

问题


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.

I have looked at things like ItextSharp.

Has anyone else done something like this before? what tools/libraries have you used?

Thanks


回答1:


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

Here is some sample code to convert to PDF

To test using the command line tool, here is how it's done (from ImageMagick forum):

convert Gears.tif -density 72 Gears.pdf



来源:https://stackoverflow.com/questions/23331118/converting-multiple-tiff-to-single-pdf-in-net

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!