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 program on windows 7 x64 using Cassini and the rendering to png of the pptx is perfect. But when I deploy my program on IIS and try to render the pptx, the quality of its rendering is reduced.
This is the link the same image, one rendered under windows 7 cassini and the other under windows server 2008.
The perfect quality one: http://dl.dropbox.com/u/2458800/exemple-high-quality.png
The low quality one: http://dl.dropbox.com/u/2458800/exemple-low-quality.png
It appears to be some sort of an antialiasing problem.
Finally, here is my code:
var powerPoint = new Application();
var presentation = powerPoint.Presentations.Open(sourceFile,
MsoTriState.msoFalse, MsoTriState.msoTriStateMixed, MsoTriState.msoFalse);
presentation.Export(destinationDir, "png", 960, 720);
presentation.Close();
powerPoint.Quit();
EDIT:
Well I knew that going with PowerPoint COM would be a problem on a server. Tried Aspose and that solved the problem.