I need to merge multiple pdfs together. I am using itextsharp to create all the pdfs. I need to reduce the size of the pdfs to the lowest possible size. I know the fonts are
My answer consists of two parts:
PdfSmartCopy
. If not, you're doing it wrong. PdfSmartCopy
examines the content of the different PDFs and reuses possibly redundant objects (such as reused images, XObjects, fonts). Note that there were some bugs in earlier versions of PdfSmartCopy
so please make sure you're using the latest version.