pdfclean(1)

pdfclean1

Pretty print, decompress and garbage collect pdf files

Usage

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

Overview

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 compact 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.

pages

Comma separated list of ranges to clean.

Author

MuPDF was written by Tor Andersson <[email protected]>. MuPDF is Copyright 2006-2010 Artifex Software, Inc.

From mupdf-tools 0.9-2+deb7u2 in Debian 7 (Wheezy). Parsed by carta from the page's man source.