We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose cells conversion to PDF is too much slow

I have updated my aspose cell from 7.4.x to 7.5.1 because 7.4.x and older versions are making problem in conversion of .xlsx files when we use them in any web/App application (using Glassfish server).I don’t either this problem is present with other web/application servers or not.Now when I updated this jar then xlsx file started converting fine but I found another issue. When I updated this to 7.5.x then it takes too long to convert a xls file (even of just 1.34mb containing 3200 pages almost).
When I use the old jar (let say 7.3.x) then this xls file converts only in few seconds or say not more than a minute.But when I use new release (7.5.1) then it takes more than 10 minutes.Is there any issue at my side?
Note: I am not trying this conversion in any web app but using only simple java class.
Here is my code of conversion.

Path = “C:\Users\test2.xls”;
Integer index = Path.lastIndexOf(".");
String destPath = “C:\Users\test21.pdf”;
String extension = “”;
if (index > 0) {
extension = Path.substring(index+1);

if (extension.equals(“xls”))
Workbook workbook = new Workbook(Path);
workbook.save(destPath, FileFormatType.PDF);
else if (extension.equals(“xlsx”))

LoadOptions loadOptions = new LoadOptions(FileFormatType.XLSX);
Workbook workbook = new Workbook(Path, loadOptions);
workbook.save(destPath, FileFormatType.PDF);


We are not sure about your issue (i.e. Excel to PDF conversion is slow). Could you attach your template Excel file, we will check it on our end.

Thank you.