I'm using iTextSharp (iTextSharp.text.pdf.PdfStamper
) to add thousands of link to an existing PDF file to create a new file.
The problem is that the created file is huge (for example, original size is 20m, but the created file size is 500m). I analyzed it with Acrobat Pro, it shows 90% of that file was occupied by "document overhead". I don't know what it is, nor why iTextSharp includes that in the file.
Is it possible to make iTextSharp create the new file without "document overhead"? or how can I get rid of the "document overhead" from the PDF file?