views:

31

answers:

2

I want to convert powerpoint into images when a user uploads it to my server. What is the best way of doing it?

I was using interop, but it seems to be working only on client side.

A: 

You could demo http://www.aspose.com/categories/.net-components/aspose.slides-for-.net/default.aspx if you are willing to spend the license fee

Luke Hutton
Luke, i want to build something similar of my own
JewelThief
A: 

You can start PowerPoint with the /M switch and specify a macro. The macro should contain a "Save As Other Formats" command that saves to the image format you require - I'd suggest PNG or JPEG. The macro can also exit from PowerPoint when it completes.

PowerPoint might not run well on a server; it will probably leave a hung instance if it tries to display an error box without having an attached display. It will definitely give the best looking results.

Mark Ransom