Hi,

 

I need to generate PDFs with 30-50 pages of images per document. Since these PDFs are generated dynamically for a web application, I am concerned about the PDF generation time and the resulting file size.

 

First I tried the constructor getInstance(Image image, Color color) and Generated a PDF of 33 pages. The results were as follows:

 

            PDF generation time: 9914 milliseconds

            File size: 372 KB

 

Then I tried Image.getInstance(URL uRL) and generated the same PDF.

 

            PDF generation time: 3616 milliseconds

            File size: 4.47 MB

 

What is the cause of the difference in time and file size in these two cases?

 

Rochana.

 

Reply via email to