Do you guys have some .Net libraries which has ability to convert a PowerPoint Presentation file into images?
Asked
Active
Viewed 1.4k times
5
-
1possible duplicate of [PPT slides to images](http://stackoverflow.com/questions/2972263/ppt-slides-to-images) – Gabe Nov 30 '10 at 18:22
3 Answers
11
Using add reference to Microsoft.Office.Interop.PowerPoint.dll
. To convert PowerPoint slides to PNG images:
PowerPoint.Presentation pptPresentation = pptApplication.Presentations.Open2007(FILE);
foreach (PowerPoint.Slide pptSlide in pptPresentation.Slides)
{
pptSlide.Export(NEWNAME, "PNG", 1024, 768);
}

Scott
- 21,211
- 8
- 65
- 72

Mohammed Thabet
- 21,387
- 7
- 27
- 43
-
1so this requires office to be installed on server, and lots of other configurations. i posted it here http://stackoverflow.com/a/40385136/1386991 – Abhimanyu Apr 30 '17 at 12:53
-
var pptPresentation = new Microsoft.Office.Interop.PowerPoint.Application(); – camino Apr 18 '19 at 01:40
1
Please see if Aspose.Slides for .NET can help you in this scenario. This component allows you to convert Powerpoint slides to images. It doesn't require MS Office to be installed on the system.
Disclosure: I work as developer evangelist at Aspose.

Shahzad Latif
- 1,408
- 12
- 29