PPTX conversion is not proper - output PDF is corrupted

Hi,

I have used the below C# code block to convert the pptx to pdf, but output pdf found to be corrupted.

    private void button19_Click(object sender, EventArgs e)
    {
        // instantiate a Presentation object that represents a PPT file
        var presentation = new Aspose.Slides.Presentation(@"c:\tfs\aspose\" + "16pptx.pptx");
        // save the presentation as PDF
        presentation.Save(@"c:\tfs\aspose\" + "PptToPdf.pdf", Aspose.Slides.Export.SaveFormat.Pptx);

        MessageBox.Show("Done");
    }

Plz check and do the needful.

@subramanyam.gvsrb,
Thank you for the issue description. Could you share the PPTX file to investigate the errors, please? You can compress it to a ZIP archive and upload it. Another way is to share a link to the file in Google Drive or Dropbox. Please also share your PDF output and specify the version of Aspose.Slides you are using.

PptxConversion.zip (44.3 KB)

Plz find source and converted pdf file as attached.

@subramanyam.gvsrb,
I converted the presentation file to PDF successfully with Aspose.Slides 21.3. Please check the issue with the latest version of Aspose.Slides. If the issue persists, we need more details on how to reproduce it.