Hello everyone!
I took the liberty of going through the iText-5.0.2.jar contents with some pretty intense compression trials and there is some room for improvement. To keep a long story short, this is what I managed to cook up in a few hundred CPU hours: http://holizip.com/iText/5.0.2/ Basically, I've managed to reduce the size of the distribution jar by aprox. 5% while still following the official jar rules - I've only used deflate compression method, the first two entries in the jar dictionary are META-INF, and META-INF/MANIFEST.MF, there is no directory clobbering - basically, the contents of the jar are exactly matching up to the original jars (CRC and date-wise, even the same file order inside the jars) except that they have been thinned up by a few percent due to some intensive crunching using 7zip's trials, and some other free compression tools. One could hot-plug this jar into any installation which used the original iText-5.0.2.jar. My train of thought was that it would not just reduce the amount of data users have to download but also reduce any package which will embed the iText library. I was hoping to perform the same kind of recompression for all future releases of iText, so that I could provide re-compressed jar libraries as soon as the next version comes out (I am willing to host these optimized versions on my website, under the iText/ section). I would be very interested in hearing what you think! With kind regards, Marko Elezović ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ iText-questions mailing list [email protected] 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/
