Hi ,
Please clarify the below . We are getting bytearray of PDF and while I am creating presentionObject from that byte array, I am getting exception.
com.aspose.slides.PptUnsupportedFormatException: Unknown file format. —> class com.aspose.slides.internal.da.int: Unknown file format.
So I tried the below POC and getting the same issue . Please help on this.
public class IPSDownloadDocumentServiceDataProvider{
public Presentation getPresentationDocument() {
try {
File file = new File("C:\\Users\\Desktop\\response100.pdf");
FileInputStream origFIS = new FileInputStream(file);
Presentation pres = new Presentation(origFIS);
}catch(Exception e){
}
}
}