English 中文(简体)
“网页,已筛选”中的图像质量
原标题:Image quality in "Web Page, Filtered"

这是一个重要的问题,如果能得到解决,我将不胜感激。

我用Word 2010将一个包含多个嵌入图像的文档(RTF)转换为HTML。所有图像的原始质量为200 dpi。当另存为“网页,已过滤”时,所有图像都会降低到96 dpi,无论我在“另存为”对话框中设置了什么->;工具->;Web选项->;图片->;每英寸像素数。我想保持原始图像的质量。

使用VBA设置ActiveDocument.WebOptions.PixelsPerInch也将被忽略。请注意,其他选项,例如ActiveDocument.WebOptions.AllowPNG也可以正常工作。

当我保存为“网页”(不带过滤;启用VML)时,图像将以原始质量保存。然而,由于图像名称的编号不同,我无法简单地将图像复制到过滤后的版本。手动匹配图像不是一种选择。

Any help would be appreciated! Please do not suggest other Word/RTF to HTML converters - I have tried several and the results were not satisfactory for my document.

Note that I have also posted this in Microsoft Answers, but did not get an answer yet. There is a similar but unanswered topic on stackoverflow.

最佳回答

很抱歉是坏消息的持有者-默认情况下,这是Word中过滤网页保存的。所有的mso标签都被删除,并通过将DPI降低到96使其尽可能小。

问题回答

当我试图将一份带有精细图形的教科书手稿保存到HTML中时,我也遇到了这个或类似的问题:它们会严重抖动,扰乱所有精细的线条艺术和打字。完全是偶然的机会,我找到了一个适合我的解决方案:将其保存为IE 6.0 HTML,而不是默认的IE 4.0 HTML。(例如,可以通过“另存为”对话框的“工具”菜单进行调整:另存为…->;工具(位于右上角)->;Web选项。)通过这种方式,图像被保存为PNG而不是GIF,而且,非常神奇的是,这也使Word图像渲染器在相同的DPI下做得更好!

工具->;选项->;概述->;Web选项->;图片





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!