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

Free Support Forum - aspose.com

XPS to PDF - takes a long time to translate

When translating XPS to PDF, it takes considerably longer than other file formats. The XPS that I have attached to this case took 1 minute 27 seconds to translate to a PDF.

Using aspose.pdf-20.4.jar

Using this code for XPS2PDF:
com.aspose.pdf.LoadOptions options = new XpsLoadOptions();
com.aspose.pdf.Document document = new com.aspose.pdf.Document(inputPath, options);
document.save(outputPath);

This is the XPS file that I used:
XPS.zip (609.4 KB)

@simon.wiseman

We were able to notice the long time taken by the API while testing the scenario with Aspose.PDF for Java 20.6. We have logged an issue as PDFJAVA-39515 in our issue tracking sytsem for the sake of detailed investigation. We will further look into its details and keep you posted with the status of its resolution. Please spare us some time.

We are sorry for the inconvenience.