Then I would put some debugging code into iText to time how much of the 
getInstance() method is spend in actually reading the image from the server vs. 
the rest of the machinery in there.  That will give you an obvious indication 
of whether the bottleneck is iText or I/O.

Once you know that - then you can start looking for solutions...Otherwise, 
you're just guessing.

-----Original Message-----
From: Jen Debroni [mailto:jdebr...@gmail.com] 
Sent: Wednesday, May 26, 2010 1:40 AM
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Image Speed


"Does this point to some other machine? Or a local file on disk somewhere? "

This URL points to a photo hosted by our photo server - this is the only way
to access these images unfortunately. However, do you think it would help to
compress the image somehow before calling image.getInstance()? Caching does
no good as there will very rarely be repetition in the images used :( ...


-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Image-Speed-tp2230840p2230889.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to