


PDFCLEAN(1)                                           PDFCLEAN(1)


NAME
       pdfclean - pretty print, decompress and garbage collect PDF files

SYNOPSIS
       pdfclean [options] input.pdf [output.pdf]

DESCRIPTION
       pdfclean  pretty prints and rewrites the contents of a PDF file.  If no
       output file is specified, the new file will be written to "out.pdf"  in
       the current directory.


OPTIONS
       -p password
              Use the specified password if the file is encrypted.

       -g     Garbage  collect  objects  that  have  no  references from other
              objects.  Give the option twice to renumber all objects and com-
              pact  the  cross  reference table.  Give it three times to merge
              and reuse duplicate objects.

       -d     Decompress streams. This will make the output file  larger,  but
              provides easy access for reading and editing the contents with a
              text editor.

SEE ALSO
       mupdf(1), pdfdraw(1).  pdfshow(1).

AUTHOR
       MuPDF was written by Tor  Andersson  <tor@ghostscript.com>.   MuPDF  is
       Copyright 2006-2010 Artifex Software, Inc.


























                          July 19, 2010                         1


