4 ms·
I just found pdfsizeopt.py, which doesn't seem to be that well known(?). It's reduced the size of most of my PDFs. pdfsizeopt.py --do-unify-fonts=false --d
by imurray 15y ago
I just found pdfsizeopt.py, which doesn't seem to be that well known(?). It's reduced the size of most of my PDFs.
pdfsizeopt.py --do-unify-fonts=false --do-unify-pages=false infile.pdf
The first option is important: several of my PDFs were horribly corrupted without it. The second option prevents a (benign?) error message with some PDFs in xpdf/poppler.
Small files dominated by complicated fonts can be reduced several times. Very large PDFs with raster images can also be made much smaller, unless you obsessively squished the graphics before including them: http://homepages.inf.ed.ac.uk/imurray2/compnotes/squish_images.html http://homepages.inf.ed.ac.uk/imurray2/compnotes/squish_imag...