mutool
all purpose tool for dealing with PDF files
- Provided by: mupdf-tools (Version: 1.3-2)
- Source: mupdf
- Report a bug
all purpose tool for dealing with PDF files
mutool <sub-command> [options]
mutool is a tool based on MuPDF for dealing with PDF files in various manners. There are several sub commands available, as described below.
mutool clean [options] input.pdf [output.pdf] [pages]
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.
If no output file is specified, it will write the cleaned PDF to "out.pdf" in the current directory.
mutool extract [options] file.pdf [object numbers]
The extract command can be used to extract images and font files from a PDF. If no object numbers are given on the command line, all images and fonts will be extracted.
TODO
mutool poster [options] input.pdf [output.pdf]
The poster command splits each page into tiles, and puts each tile on a page of its own. It's useful for printing a large page onto smaller pieces of paper that can then be glued together to create a large poster.
The output will have x times y number of pages for each input page.
mutool show [options] file.pdf [object numbers ...]
The show command will print the specified objects and streams to stdout. Streams are decoded and non-printable characters are represented with a period by default.
Specify objects by number, or use one of the following special names:
MuPDF is Copyright 2006-2013 Artifex Software, Inc.