pdfopt − Ghostscript PDF Optimizer

pdfopt [ options ] input.pdf output.pdf

pdfopt uses gs(1) to convert the Adobe Portable Document
Format (PDF) file "input.pdf" to a so‐called optimized form
in "output.pdf".  Optimization puts the elements of the file
into a more linear order and adds "hint" pointers, allowing
Adobe’s Acrobat(TM) products to display individual pages of
the file more quickly when accessing the file through a

     Note: input.pdf and output.pdf must not be the same.
If they are, the file will probably be destroyed.  pdfopt
currently does not check for this.

Run "gs ‐h" to find the location of Ghostscript
documentation on your system, from which you can get more

"Linearized PDF" in Adobe’s PDF reference manual,

This document was last revised for Ghostscript version 7.07.

L. Peter Deutsch <ghost@aladdin.com>