Without knowing about the image types, sizes, etc, it's impossible to
have an opinion.  

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Rochana Attale
> Sent: Wednesday, January 26, 2005 12:00 PM
> To: [email protected]
> Subject: [iText-questions] Why are the results of" 
> Image.getInstance(URL uRL)" and "Image.getInstance(Image 
> image, Color color)" different ?
> 
> 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.
> 
>  
> 
> 


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to