使用C#将任何类型的文件转换为tiff文件的开源或工具 [英] Opensource or tools for converting any type of files to tiff file using C#

查看:189
本文介绍了使用C#将任何类型的文件转换为tiff文件的开源或工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我想使用C#将word,pdf,ppt,html等任何类型的文件转换为tiff文件。为此,您可以建议我使用C#代码中使用的任何工具或开源。



提前付款



我尝试了什么:



我已经使用Aspose lib转换为pdf然后转换为tiff's但是它需要很长时间才能使用因此寻找替代工具来完成同样的工作。

Hello,

I would like to convert any type of files like word,pdf,ppt,html to tiff files using C#. For this can you suggest me any tool or opensource used in C# code.

Thanks in Advance

What I have tried:

I am already using an Aspose lib to convert to pdf and then to tiff's but it is taking long time to process so looking for an alternative tool to do the same.

推荐答案

第一个问题是这样的工具必须渲染所有这些格式,如Aspose库。下一个问题是大多数 - 如果不是全部 - 现有工具将不提供TIFF输出选项。



但是,您可以在网上搜索能够呈现特定的工具格式化为某种图像格式,然后可以转换为TIFF格式。这应该至少比你当前的解决方案更快,但需要搜索和使用不同的工具(我不知道支持除Aspose之外的所有格式的工具)。



包括Aspose在内的所有工具的缺点是它们必须知道正确渲染的文件格式。如果格式已扩展,则必须更新该工具。解决此问题的方法是使用原始应用程序,当支持打开和打印文件并随后通过命令行选项终止(大多数情况下)。您所需要的只是一个虚拟打印机驱动程序,可将输出重定向到图像文件,该文件可作为付费和免费产品使用。这些驱动程序通常能够创建TIFF文件。
The first problem is that such a tool has to render all those formats like the Aspose library. The next problem is that most - if not all - existing tools will not provide a TIFF output option.

However, you might search the web for tools able to render specific formats into some image format which can be then converted to TIFF. That should be at least faster then your current solution but requires to search for and use different tools (I don't know of a tool supporting all those formats besides Aspose).

The disadvantage of all those tools including Aspose is that they have to know the file format for proper rendering. If the format is extended, the tool has to be updated too. A solution for this problem is using the original application when that supports opening and printing a file and terminating afterwards by command line options (most do). All you need then is a virtual printer driver that redirects output to an image file which are available as paid and free products. These drivers are usually able to create TIFF files.


这篇关于使用C#将任何类型的文件转换为tiff文件的开源或工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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