Win32::OLE is probably the best way to tackle this problem.
However, there is a C based PPT to HTML converter that is bundled with the Excel to HTML converter xlHtml. From the Readme: The pptHtml program will take a PowerPoint 97/95 file as input and convert
it to html.
I haven't tried the PPT converter but the Excel converter is very good.