如何压缩使用XslTransform.Transform方法创建的HTML文档 [英] How to compress the HTML doc created using XslTransform.Transform Method

查看:101
本文介绍了如何压缩使用XslTransform.Transform方法创建的HTML文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,

我们是否可以压缩使用 XslTransform.Transform(IXPathNavigable,XsltArgumentList,XmlResolver)创建的HTML文档的大小.
由于我必须将其转换为PDF文档.

但由于html doc的大小约为4 MB,因此转换后的PDF达到17 MB.

请提供相同的建议.

Hi Friends,

Can we compress the size of HTML document created using XslTransform.Transform(IXPathNavigable, XsltArgumentList, XmlResolver).
As I have to convert the same into PDF document.

But as the size of html doc is around 4 MB, then converted PDF reaches to 17 MB.

Please advise on the same.

推荐答案

PDF本质上不如原始的Microsoft Word文档紧凑. 17/4的比率是相当合理的,可能会更糟.当然应该取决于内容.
我认为这不受您的控制.

--SA
PDF is inherently less compact than original Microsoft Word document. 17/4 is quite reasonable ratio, it can be worse. Should depend on the contents, of course.
I don''t think this is under your control.

--SA


这篇关于如何压缩使用XslTransform.Transform方法创建的HTML文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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