Performance pngDevice.Process(doc.Pages[pageCount]- tempFilePath);

We’re fairly new to Aspose.Pdf and we generally use the controls for showing PDFs that average 8 pages. As of this moment, we’re seeing these documents rendered to the web in approximately 8 seconds (asp.net mvc).


How can we speed this up? This feels like a major problem for the size of these PDFs.

The line of code we’re seeing run so slowly is:
pngDevice.Process(doc.Pages[pageCount], tempFilePath);

We're fairly new to Aspose.Pdf and we generally use the controls for showing PDFs that average 8 pages. As of this moment, we're seeing these documents rendered to the web in approximately 8 seconds (asp.net mvc).

How can we speed this up? This feels like a major problem for the size of these PDFs.

The line of code we're seeing run so slowly is:

pngDevice.Process(doc.Pages[pageCount], tempFilePath);

Russell Solberg

Chief Information Officer

P: (360) 922-5050 | C: (425) 306-2600 | F: (360) 922-5051
Send Me Secure File(s)

cid:image001.jpg@01D055C2.561668F0


This message was posted using Support2Forum.

Hi Russell,


Thanks for using our API’s.

As per my understanding, you are converting PDF pages to HTML format and then displaying/rendering the output in web browser. Can you please share the resource files and the sample PDF documents, so that we can test the scenario in our environment. We are sorry for this inconvenience.