3 ms·
I deal with making PDFs a lot, and some of my processing steps (using pdfjam) make the file size explode. Currently I have no efficient way to make them smalle
by mkl 9y ago
I deal with making PDFs a lot, and some of my processing steps (using pdfjam) make the file size explode. Currently I have no efficient way to make them smaller again. I would love to see how you do it.
- philipkglass 9y agoThe Multivalent PDF tool is still my go-to. It hasn't been updated in ages, but the jar still works fine: http://multivalent.sourceforge.net/download.html http://multivalent.sourceforge.net/download.html If you run java tool.pdf.Compress file.pdf it will generate file-o.pdf and often trim quite a bit of weight. That's probably what I would suggest sci-hub use too because it's easy to use and automatic. EDIT: this looks quite promising too: https://github.com/pts/pdfsizeopt https://github.com/pts/pdfsizeopt But it has bugs with handling some images... converts them to black boxes. I'd only use this one if you manually verify the result first (so not a fully scripted process). (Or this could be due to me not installing all the bleeding edge dependencies from source as instructed.)
- mkl 9y agoThanks. I didn't try Multivalent as I didn't have a Java VM. Maybe I should take another look. I tried pdfsizeopt, and IIRC it didn't actually reduce my particular PDFs.