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

Free Support Forum - aspose.com

PDF to HTML conversion problem

Hi All,

I am currently working on an application whose purpose is to convert PDF to HTML.

Below is the code snippet which I am using to do so:

Aspose.Pdf.Document doc = new Aspose.Pdf.Document(strPDFFileName);

doc.Save(sHTMLFileName, Aspose.Pdf.SaveFormat.Html);

Above code is doing well to convert/save PDF to HTML, but what I have observed that it is taking much time while doing it. If I am converting a single PDF file having 25 pages then it is taking approx. 5 minutes however once I tried to convert a single PDF having 50 pages then it is taking more than 12 minutes which is not adequate in our project. Can you please suggest any better approach for the same?

I have also observed that it taking lot of CPU/Memory utilization while conversion, which sometime causes Memory leak. Can you please provide any solution for this too?

Since this is an urgent issue, so any suggestion on this will be highly appreciated.



Hi Ashish,

Thanks for using our products and sorry for the delayed response.

The time taken by our component to manipulate or perform any operation depends upon the complexity and structure of source PDF file. Can you please share the source PDF files so that we can test the scenario at our end. We are sorry for this inconvenience.