Ok, I tested the PDFSmartCopy to compare it with my own class single file size ~145KB
merged 5 different files with pictures (same for both tests) myClass: final size 235KB PdfSmartCopy: final size 379KB maybe my class is not as safe as PdfSmartCopy but maybe you want to have a look... Daniel > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:itext-questions- > [EMAIL PROTECTED] Im Auftrag von Paulo Soares > Gesendet: Donnerstag, 22. Mai 2008 14:55 > An: Post all your questions about iText here > Betreff: Re: [iText-questions] iText extension to merge pdf files > > Isn't that what PdfSmartCopy already does? > > Paulo > > ----- Original Message ----- > From: "Mohni, Daniel" <[EMAIL PROTECTED]> > To: <itext-questions@lists.sourceforge.net> > Sent: Thursday, May 22, 2008 9:11 AM > Subject: [iText-questions] iText extension to merge pdf files > > > > Hello > > > > I made a extension to the PDFCopy class to cache XObjects Streams > > and replace following references to same objects. > > > > We are using this to concatenate pdf's where every single pdf > > contains a few pictures. The resulting pdf will only contain > > one of each picture for all source pdf's. > > > > I hope you understand what I mean... > > > > Now, where should I send the current class for approval ? > > the code is based on iText 2.0.8 and there is some place for > > improvements.... > > > > Regards Daniel > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Do you like iText? > Buy the iText book: http://www.1t3xt.com/docs/book.php > Or leave a tip: https://tipit.to/itexttipjar
PdfMerge.java
Description: PdfMerge.java
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar