I tried to convert a basic PPTX file to HTML with the PDF SDK and it’s returning me an empty HTML.
<!DOCTYPE html><html><head><title></title></head><body><?xml version="1.0" encoding="utf-8" standalone="yes"?>
Code is very basic for now:
$request = new Aspose\Slides\Cloud\Sdk\Model\Requests\GetSlideWithFormatRequest('sample.pptx', 1, 'html'); $config = new Aspose\Slides\Cloud\Sdk\Api\Configuration(); $config->setAppSid("*****"); $config->setAppKey("****"); $slidesApi = new Aspose\Slides\Cloud\Sdk\Api\SlidesApi(null, $config); $result = $slidesApi->GetSlideWithFormat($request); var_dump($result->__toString());
sample.pptx file is well found; i did upload it manually in the backend (because the Utils.php file is nowhere; will have to make a cURL request to post the file…). But the returned HTML is empty here…
Here is the PPTX file.
sample.pptx.zip (209.5 KB)
If someone has any idea ? Or i will look for another provider; just started my test and nothing is working as expected