Thanks Paulo,

I changed to PdfCopy and everything is fine. PdfCopy is much faster too.

Thanks
Mike

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

Message: 3
Date: Tue, 29 Mar 2011 22:26:44 +0100
From: "Paulo Soares" <[email protected]>
Subject: Re: [iText-questions] Corrupt PDF after merging many pages
To: "Post all your questions about iText here"
<[email protected]>
Message-ID: <904AEA5EF2474FAFB0739F199B1FEB5C@psoaresw>
Content-Type: text/plain; charset="iso-8859-1"

Something else must be going on. Last month I scanned some old magazines and 
used iTextSharp to reorganize and merge the pages. One of the files ended up 
with 300 pages without any problem. I've noticed that you are not using 
PdfCopy. Using PdfWriter over PdfWriter may nest xobjects too deep and go over 
the PDF implementation limit of 28.

Paulo
 
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to