Re: [iText-questions] PDF size after oPdfStamper.FreeTextFlattening, FormFlattening needs to go on a diet ??

2010-02-24 Thread Sean_Parsons
Before you close the stamper/reader - add: reader.removeAnnotations(); reader.removeUnusedObjects(); stamper.setFullCompression(); Sean tim clark-10 wrote: >Hi All >I have been using the itext lib in a app for a year or so typically to >merge >db content in to pdf form field documents >crea

[iText-questions] PDF Form size

2010-01-20 Thread Sean_Parsons
Is there any way to reduce the size of these files? The file I'm generating winds up being anywhere from 250 to 300K in size. I can open the file in Acrobat, and select Optimize, and it shrinks it to ~32K. Does iText have a way to do this that I'm missing? I've set writer.setFullCompression