Hello there
We use Aspose amongst other things to create “preview” versions of documents. To do this we convert documents to HTML using Aspose so that the converted document can then be displayed in a browser.
For this we use Aspose.Words for .NET (version 21.1.0; we keep our NuGet packages up to date)
The code to do this is trivial (I won’t include code to set the Licences or to trap errors for transparency)
oDoc = New Aspose.Words.Document(sFile)
oDoc.Save(sToFileName, Aspose.Words.SaveFormat.Html)
test.zip (483.2 KB)
The attached document is quite small. 601KB, and only a few pages, three of which contain a page sized image.
It can take 4 seconds for this to be converted, which seems to me excessive for a file of this size, especially considering I’m testing this on a new machine with an i9 processor and 32GB of internal memory… Our customers have much less powerful machines so for them this can become excruciatingly slow.
Is there anything I can do to speed this up? See the attached document for reference.