I want to make image from ppt/pptx. I can read ppt by using PHPOffice/PHPPresentation, but I can't convert it into images.
require_once 'src/PhpPresentation/Autoloader.php';
\PhpOffice\PhpPresentation\Autoloader::register();
require_once 'src/Common/Autoloader.php';
\PhpOffice\Common\Autoloader::register();
use PhpOffice\PhpPresentation\IOFactory;
use PhpOffice\PhpPresentation\Shape\Media;
$oReader = IOFactory::createReader('PowerPoint2007');
$readPPTX = $oReader->load(__DIR__ . '/sample.pptx');
$oWriterPPTX = IOFactory::createWriter($readPPTX, 'PowerPoint2007');
print_r($oWriterPPTX);
//$oWriterPPTX->save(__DIR__ . "/output.pptx");