Optimize PDF file, shrink all images, reduce size PDF, unembed fonts, enable reusing page content, remove or flatten annotations with C++....method works as follows: Resources that are not used on the document...document pages are removed Equal resources are joined into one object...