Converting PPT to PPTX in PHP

Aspose.Slides - Converting PPT to PPTX

To convert PPT to PPTX presentation using Aspose.Slides Java for PHP, simply invoke PptToPptx module. Here you can see example code.

PHP Code

 # Instantiate a Presentation object that represents a PPTX file

$pres = new Presentation($dataDir . "Presentation1.ppt");

\# Saving the PPTX presentation to PPTX format

$save_format = new SaveFormat();

$pres->save($dataDir . "Aspose.pptx", $save_format->Pptx);

print "Document has been converted, please check the output file.";

Download Running Code

Download Converting PPT to PPTX (Aspose.Slides) from any of the below mentioned social coding sites: