You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.
denistsoi edited this page Jan 9, 2015
·
2 revisions
Lots of PDF files have contents that might not be necessary, for example, annotations, unused objects and deleted objects. These information can be removed without affecting the visual, while making the PDF files smaller.
Note that pdf2htmlEX is designed to be a converter but not an optimizer, so generally it's a good idea to optimize the PDF file before feed them to pdf2htmlEX.
PDF Optimizers
Ghostscript is an open source tool that can be used to optimize PDF file. You can try gs -sDEVICE=pdfwrite -sOutputFile='output.pdf' -dNOPAUSE -dBATCH input.pdf, or more advanced options. You should also read its documentation for the full power of Ghostscript.
Others include Adobe Acrobat, or any you can find online. The tools have different advantages and disadvantages, so you should try different ones on your files and find the best one for you.