summaryrefslogtreecommitdiff
path: root/apps/man/mupdfclean.1
diff options
context:
space:
mode:
Diffstat (limited to 'apps/man/mupdfclean.1')
-rw-r--r--apps/man/mupdfclean.139
1 files changed, 39 insertions, 0 deletions
diff --git a/apps/man/mupdfclean.1 b/apps/man/mupdfclean.1
new file mode 100644
index 00000000..91e796ac
--- /dev/null
+++ b/apps/man/mupdfclean.1
@@ -0,0 +1,39 @@
+.TH PDFCLEAN 1 "January 27, 2012"
+.\" Please adjust this date whenever revising the manpage.
+.SH NAME
+mupdfclean \- pretty print, decompress and garbage collect PDF files
+.SH SYNOPSIS
+.B mupdfclean
+.RI [ options ]
+.RI input.pdf
+.RI [ output.pdf ]
+.RI [ pages ]
+.SH DESCRIPTION
+.B mupdfclean
+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.
+.PP
+.SH OPTIONS
+.TP
+.B \-p password
+Use the specified password if the file is encrypted.
+.TP
+.B \-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.
+.TP
+.B \-d
+Decompress streams. This will make the output file larger, but provides
+easy access for reading and editing the contents with a text editor.
+.TP
+.B pages
+Comma separated list of ranges to clean.
+.SH SEE ALSO
+.BR mupdf (1),
+.BR mupdfdraw (1).
+.BR mupdfshow (1).
+.SH AUTHOR
+MuPDF was written by Tor Andersson <tor@ghostscript.com>.
+MuPDF is Copyright 2006-2010 Artifex Software, Inc.