Exception while opening pptx files

Hi Aspose-team,

I am evaluating the Aspose.Slides software for converting ppt-slides into images. Therefore I have downloaded the demo version of Aspose.Slides. Converting ppt files to images is no problem but when it comes to converting pptx files I will get an exception on opening the file. So I don’t know if Aspose.Slides is not able to deal with pptx or if this is a bug or a misconfiguration on my side or maybe its just not possible with the demo version. Below you can see a stack trace of the error. Attached you can find my source file as well as a pptx file which won’t open.

java.lang.NegativeArraySizeException
at com.aspose.slides.obfuscated.fi.do(SourceFile:34)
at com.aspose.slides.obfuscated.vf.try(SourceFile:65)
at com.aspose.slides.obfuscated.vf.new(SourceFile:60)
at com.aspose.slides.obfuscated.vf.(SourceFile:47)
at com.aspose.slides.obfuscated.ad.do(SourceFile:34)
at com.aspose.slides.obfuscated.ad.(SourceFile:30)
at com.aspose.slides.Presentation.do(SourceFile:178)
at com.aspose.slides.Presentation.(SourceFile:550)
at de.meetyoo.pptconvert.Ppt2Img.convert(Ppt2Img.java:32)
at de.meetyoo.pptconvert.Ppt2Img.main(Ppt2Img.java:71)

Regards,
Nicos

Dear Nicos,

Thanks for your interest in Aspose.Slides.

I have observed the code snippet shared by you along with the shared PPTX file. Actually, you are using Presentation class to access PPTX. You may please use PresentationEx to access the PPTX file. Please follow this documentation link to generate PPTX thumbnail.

Thanks and Regards,