如何在Mvc4中将Pdf文件压缩到最小尺寸? [英] How Can I Compress A Pdf File To Its Smallest Size In Mvc4?

查看:83
本文介绍了如何在Mvc4中将Pdf文件压缩到最小尺寸?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的要求是我们有word文档(大尺寸),我们必须将其转换为压缩到最大的pdf ..如何在我们的MVC4应用程序中实现这一点?

Any想法?

解决方案

首先作为警告我相信不可能有比word文件更小的PDF文件,特别是如果我们谈论DOCX文件。

现在关于您的要求,您可以查看提到的解决方案这里(有些是免费的,有些是付费的,但要小心,因为有时用免费的解决方案,你得到你付出的......)。



另外只是一个想法,根据我的经验,图像对PDF文件的大小影响最大,所以你可以尝试的只是优化word文件中的所有图像,然后使用任何解决方案(免费或付费)为了将它们转换为P. DF。

Our requirement is that we are having word docs(large size) and we have to convert it in pdf having compressed to its maximum..How we can achieve this in our MVC4 appliocation?
Any idea?

解决方案

First just as a warning I believe it's not possible to have PDF file with the lower size then word file, especially if we are talking about DOCX files.
Now regarding your requirements, you can check out the solutions mentioned here (Some are free and some are paid, but be careful because sometimes with free solutions you get what you paid for...).

Also just a thought, from my experience images have the biggest impact on PDF file's size, so what you can try is just optimizing all the images in word files and then use any solution (free or paid) in order to convert them to PDF.


这篇关于如何在Mvc4中将Pdf文件压缩到最小尺寸?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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