From c88941abc6f0fe91a41dc35dcaa1874d4de2c429 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 7 Apr 2017 16:18:53 +0200 Subject: Organize docs into HTML files. --- docs/manual-mutool-clean.html | 92 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 docs/manual-mutool-clean.html (limited to 'docs/manual-mutool-clean.html') diff --git a/docs/manual-mutool-clean.html b/docs/manual-mutool-clean.html new file mode 100644 index 00000000..bc7989a1 --- /dev/null +++ b/docs/manual-mutool-clean.html @@ -0,0 +1,92 @@ + + + +mutool clean + + + + + + +
+

mutool clean

+
+ + + +
+ +

+The clean command pretty prints and rewrites the syntax of a PDF file. +It can be used to repair broken files, expand compressed streams, +filter out a range of pages, etc. + +

+mutool clean [options] input.pdf [output.pdf] [pages]
+
+ +

+If no output file is specified, it will write the cleaned PDF to +"out.pdf" in the current directory. + +

+
-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. + +
-s +
Rewrite content streams. + +
-d +
Decompress streams. This will make the output file larger, but +provides easy access for reading and editing the contents with a +text editor. + +
-l +
Linearize output. Create a "Web Optimized" output file. + +
-i +
Toggle decompression of image streams. Use in conjunction with +-d to leave images compressed. + +
-f +
Toggle decompression of font streams. Use in conjunction with -d +to leave fonts compressed. + +
-a +
ASCII Hex encode binary streams. Use in conjunction with -d and +-i or -f to ensure that although the images and/or fonts are +compressed, the resulting file can still be viewed and edited +with a text editor. + +
-z +
Deflate uncompressed streams. If combined with -d, any +decompressed streams will be recompressed. If combined with -a, +the streams will also be hex encoded after compression. + +
pages +
Comma separated list of page numbers and ranges to include. + +
+ +
+ + + + + -- cgit v1.2.3