Optimizing and downsampling images in PDF

Q: We monitored our Service, and found out that users, send us very
large PDFs containing Images with 300+ DPI. Also some files have
images that are not visible or are not referenced anywhere.

I would like to know, how can I using PDFNet optimize these files so
that PDF that contains Images in 72 dpi, and that unused images are
removed?
-------------------------------
A:

Probably the simplest way is to use ‘pdftron.PDF.Optimizer’ as shown
in the Optimizer sample project (http://www.pdftron.com/pdfnet/
samplecode.html#Optimizer). ‘pdftron.PDF.Optimizer’ is a separately
licensable add-on option to PDFNet Core SDK. Alterntively you can
implement your own optimizations along the lines of JBIG2 sample
project.