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

Free Support Forum - aspose.com

XPS Conversion

Hello,

I have to convert files to XPS format.
I have downloaded the latest version of Aspose.Word 11.1.0.0, Aspose.Pdf 6.8.0.0, Aspose.Slides 6.0.0.0, Aspose.Cells 7.1.1.0

I have used two files for each type of file. A big ( more than 7 Mo) and a small ( less than 300 Ko).

Here is my source code


Aspose.Words.Document worddoc= new Aspose.Words.Document(@"c:/DocSoure/doc_big.doc");
using ( FileStream fsz = new FileStream(@"c:/Docconverted/doc_big.xps"), FileMode.Create))
{
worddoc.Save(fsz, Aspose.Words.SaveFormat.Xps);
}

I'm using the "same template" for each type of file.


Here are the restults of the conversions.

Word files

  • Original size 31 Mo
    Time to convert : 17 seconds
    converted size : 30 MO
  • Original size 231 Ko
    Time to convert : 0.1 seconds
    converted size : 252 Ko


Xls files

  • Original size 18 Mo
    Time to convert : 97 seconds
    converted size : 11 Mo
  • Original size 104 Ko
    Time to convert : 0.6 seconds
    converted size : 126 KO

PPT files

  • Original size 7 Mo
    Time to convert : 14 seconds
    converted size : 10 Mo
  • Original size 546 Ko
    Time to convert : 0.8 seconds
    converted size : 608 Ko

PDF files

  • Original size 17 Mo ( 52 pages )
    Time to convert : 4.8 seconds
    converted size : 1 Mo ( Only 4 pages !!!!!! )
  • Original size 201 Ko
    Time to convert : 3.1 seconds
    converted size : 1 Mo ( Only 4 pages !!!!!! )


I have 2 questions

Are these performances expected?

Word file 31Mo : 17 seconds
Xls file 18Mo : 97 seconds
PPT file 7Mo : 14 seconds
PDF file 201Ko : 4.8 seconds

Why do I have only 4 pages for the pdf conversion?

We have no issues for example converting Word to image format ( one image for each page)

Our aim is to display those files in the "first floor Silverlight" viewer. But with these performances we won't be able to deploy it.

Thanks

Hello Sebastien,


Thanks for using our products.

I am a representative from Aspose.Pdf team. Please note that when using Aspose.Pdf for .NET in trial mode, you can only export first four pages of the source PDF file into XPS format. However in order to fully test the capabilities of our products, you may also request a 30 days Temporary license. For further information, please visit Get a temporary license

More along, please share the source PDF files so that we can test the scenario at our end. We apologize for your inconvenience.

Hi,


I am a representative of Aspose.Cells team and would like to help on Excel to XPS conversion.

First of all, we recommend you to kindly try our latest fix v7.1.2.1: Aspose.Cells for .NET v7.1.2.1

For your performance issue (if you still find it with v7.1.2.1), i.e.
"Xls files
  • Original size 18 Mo
    Time to convert : 97 seconds
    converted size : 11 Mo"
Could you share/attach the Excel file here. We will check your issue soon.

Thank you.

Hi Sebastien,


Thanks for your inquiry. I am representative of Aspose.Words team.

Could you please also attach your input Word document, you’re getting problems with, here for testing? I will investigate the issue on my side and provide you more information.

Best Regards,

Hello Sebastien,


I am representing Aspose.Slides. Can you please provide source presentations along with generated output with us so that we may further proceed with our investigation to help you out further.

Many Thanks,