2

I´m using ExpertPDF (library for .NET C#) for converting HTML to PDF and my problem is that it takes a lot of time to do this.

Are there any customizations that will improve the conversion?

The HTML-page contains table-data with just a few images, so it is not that complex.

Have anyone else ever experienced this problem, or do you recommend another library for doing this?

I´m thankful for all hints I can get, there must be a way to increase the performance of this action...

Wayne Koorts
  • 10,861
  • 13
  • 46
  • 72
Tommy
  • 298
  • 1
  • 3
  • 9
  • 2
    Are you using standard html, xhtml, css? are your images large? i would imagine theses all would vary the conversion process. – Daniel A. White Apr 18 '09 at 12:39
  • The webpage-output is xhtml with css includes, there are no inline styles. The images are not large and the format is *.jpg. Do you have any special tips for optimizing the output even more? – Tommy Apr 18 '09 at 13:23
  • Which version of ExpertPDF are you using? We are using it (both v5 and now 6.2.0) and performance is very good. We are rendering large tables which run to multiple pages with CSS without any performance issues. – Mark A Mar 23 '11 at 20:45

2 Answers2

3

If you really need build from HTML, i suggest to have a look websupergoo, it is no free or open source library can export PDF from HTML.

Cheung
  • 15,293
  • 19
  • 63
  • 93
1

There is a lot of questions in stackoverflow that speak for this subject

Community
  • 1
  • 1
ecleel
  • 11,748
  • 15
  • 48
  • 48
  • 1
    I know there is a lot of questions about this subject, but, they dont solve my problem with the performance of ExpertPDF, html to pdf. – Tommy Apr 18 '09 at 22:11