如何在驱动器asp.net中保存时减少.pdf文件大小 [英] how to reduce .pdf file size while save in drive asp.net

查看:68
本文介绍了如何在驱动器asp.net中保存时减少.pdf文件大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



i我正在尝试如何减少.pdf文件大小,同时保存在驱动器asp.net中。


i am trying for how to reduce .pdf file size while save in drive asp.net.

推荐答案

根据这个堆栈溢出问题:PDF压缩库/工具 [ ^ ],你运气不好。
According to this Stack overflow question: "PDF compressing library/tool"[^], you are out of luck.


为什么不能想到压缩文档:



Why can't be think of compressing the document:

Dim filePath As String=Server.MapPath("\documents\file.pdf")
Using zip As ZipFile = New ZipFile()
    zip.AddFile(filePath, "files")
    zip.Save(filePath)
End Using


这篇关于如何在驱动器asp.net中保存时减少.pdf文件大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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