Problem rendering a PowerPoint to png in C# using COM under an IIS service

后端 未结 2 1114
迷失自我
迷失自我 2021-01-27 12:28

first of all, my program CAN render a pptx to png, the quality is just greatly reduced when rendering on Windows Server 2008 R2 and I\'m wondering why.

I tested my progr

相关标签:
2条回答
  • 2021-01-27 13:08

    Use, say, SysInternals' ZoomIt utility to see the difference. The text that was rendered by the server is not anti-aliased.

    Microsoft sternly warns that Office programs were designed to run on a work station and are not suitable for use in a server environment. This is one of the side-effects. You'll have to ask the server administrator to put the server's video adapter in a 32 bpp mode with anti-aliasing enabled. I hope it has one. Ask more about this at serverfault.com

    0 讨论(0)
  • 2021-01-27 13:24

    using PPT automation in a service (IIS is a service) is NOT supported by MS... see http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257757#kb2

    Use a 3rd-party solution without automation (for example Aspose)... not affiliated..

    0 讨论(0)
提交回复
热议问题