Dear Andreas,
there is a huge difference between recompresison and recompilation.

ProGuard, whilst being a great piece of engineering, is primarily intended
for obfuscation and removal of unneeded bytecode, whilst I was merely
recompressing the original files, which is lossless.

It's like comparing apples and heavy machinery. There is no point.

With kind regards,
Marko Elezović

On 12.7.2010. 14:52, Andreas Kuehne wrote:
> Hi Marko,
>
> did you try proGuard ( http://proguard.sourceforge.net/downloads.html ) ?
>
> This is an impressive compression tool for jars. Our applet using iText source
> shrinked dramatically ( 2 MB ->  90KB ). This ratio will usually be less in 
> other
> usage scenarios, but I would guess  5% will be beaten easily ;-)
>
> Greetings
>
> Andreas
>
>
>
> ---Original Message ----
> From: Marko Elezović<[email protected]>
> To: [email protected]
> Sent: Sun, July 11, 2010 6:46:25 PM
> Subject: [iText-questions] Recompressing the iText PDF library jar
>
>
>
> 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/
>
> ------------------------------------------------------------------------------
> 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/


------------------------------------------------------------------------------
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/

Reply via email to