Dear,
When I am converting pptx file to pdf, always I get corrupted pdf file.
I am using aspose-slides-19.3-jdk16.jar and this code
Presentation presentation = new Presentation("C:/Users/muk/Desktop/pptFile.pptx");
try {
presentation.save("C:/Users/muk/Desktop/PowerPoint-to-PDF.pdf",SaveFormat.Pdf);
} finally {
if (presentation != null) presentation.dispose();
}
You can download pptx and pdf files from here https://drive.google.com/file/d/1v_lwUYsTDBZM3wdF7K0dF7F2_6BtafKe/view?usp=sharing