We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert PDF to PPTX using Aspose.PDF for .NET - ImageResolution property does not seem to work

Team,
We are using Aspose.PDF to convert a PDF document to PPTX. Below is the sample code that we used.

We need to have the PDF as image in PPTX, so we are using SlidesAsImages Property which works fine.
Along with this, we are using the ImageResolution property because we want the image quality to be better than the default resolution of 192. We tried to change this value to 144 and 192 and 300, but we see the same image quality with all the values. Even the PPTX file generated is of same file size. Below is the sample code that we are using.

Attached is a sample PDF that we are trying to convert - Test.pdf (25.4 KB)

Could you please have a look and let us know if anything we are doing incorrect.?

Note: We have a valid Aspoes.Total license.

//PDF = Aspose.Pdf
// Load PDF document
PDF.Document docForPPT = new PDF.Document(“Test.pdf”);
// Instantiate PptxSaveOptions instance
PDF.PptxSaveOptions pptx_save = new PDF.PptxSaveOptions();
// Save the output in PPTX format
pptx_save.SlidesAsImages = true;
pptx_save.ImageResolution = 144;//192//300 // All three values are producing output with same file size and image quality
docForPPT.Save(“Test.pptx”, pptx_save);

@sundesh.kale

We were able to notice the similar issue in our environment while testing the scenario with Aspose.PDF for .NET 20.4 and have logged it as PDFNET-48003 in our issue tracking system. We will surely look into details of it and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

@asad.ali Thank you for your quick response, appreciate it!

Would you be able to provide an approximate timeline(like 1week/1 month/6months) by when we can expect the fix for this? This will help us to plan our project better.

In addition, can you suggest any workaround to achieve this?
Requirement is to have the report in PowerPoint(PPTX) format with slides as image and better resolution than the default setting.
We have the Excel(XLSX) report, which we are converting to PDF using Aspose.Cells and then converting to PowerPoint(PPTX) using Aspose.PDF. We hold Aspose.Total valid license.

Please feel free to ask further details if required.

@sundesh.kale

The issue has been logged under a free support model and will be resolved on a first come first serve basis because issues have low priority in normal support. The resolution time of the issue may take months depending upon the number of issues logged prior to it.

Since you have Aspose.Total License and converting XLSX to PDF using Aspose.Cell, you can try the following workaround if it helps:

Please let us know in case you have further concerns.