14.5.0 PPT files corrupted when using Save to PDF- PPTX fine

Hi,


Beyond frustrated by the rewrite and method changes that have taken place and why now, ppt files are now not working.

All we are doing is opening the .ppt file and then saving to PDF format.

Dim lo As New Aspose.Slides.LoadOptions

lo.LoadFormat = LoadFormat.Ppt

pres = New Aspose.Slides.Presentation(FullPathToFile, lo)

opts.TextCompression = Aspose.Slides.Export.PdfTextCompression.Flate

opts.Compliance = Aspose.Slides.Export.PdfCompliance.Pdf15

pres.Save(FullPathToFile, Aspose.Slides.Export.SaveFormat.Pdf)

When the above code executes, the original .ppt file reduces in size - in one example from 16 to 4 mb and the file is then unreadable and cannot be opened in Powerpoint and a file corruption error displays in PowerPoint when opening the file (error in screen shot - attached). Please tell me how to resolve this.


Hi Karl,

Thank you for sharing the template file.

I tested the issue with the latest version of Aspose.Slides for .NET v14.7.0 and it throws exception on opening the file i.e. “Unknown file format” exception. The issue has been registered in our issue tracking system with issue id: SLIDESNET-35758. We will update you via this forum thread once the issue gets resolved.

Thanks & Regards,

Hi Karl,

Our development team has further investigated your issue and as per their feedback, the input file you shared is not actually a presentation file but a PDF file. You can change the extension of the file to PDF and it will open fine in a PDF editor.

Please feel free to contact support in case you need any further assistance.

Thanks & Regards,

The issues you have found earlier (filed as SLIDESNET-35758) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.