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