This sample shows how to optimize size of an existing PDF document using Docotic.Pdf.
NOTE: To get proper results please use this sample code with a license key. You can get a free license key here: http://bitmiracle.com/pdf-library/download-pdf-library.aspx
Docotic.Pdf supports different compression methods. You can use all of them to get the best compression ratio:
- recompress images (if any)
- setup save options
- remove structure information
- flatten form fields
- remove metadata
- unembed fonts