<!DOCTYPE html>
<html>
<head>
<title>mutool extract</title>
<link rel="stylesheet" href="style.css" type="text/css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>

<body>

<header>
<h1>mutool extract</h1>
</header>

<nav>
<a href="http://mupdf.com/index.html">About</a>
<a href="http://mupdf.com/news.html">News</a>
<a href="index.html">Documentation</a>
<a href="http://mupdf.com/downloads/">Downloads</a>
<a href="http://git.ghostscript.com/?p=mupdf.git;a=summary">Source</a>
<a href="https://bugs.ghostscript.com/">Bugs</a>
</nav>

<article>

<p>
The extract command can be used to extract images and font files from a PDF file.

<pre>
mutool extract [options] file.pdf [object numbers]
</pre>

<p>
Options:

<dl>
<dt> -p password
<dd> Use the specified password if the file is encrypted.
<dt> -r
<dd> Convert images to RGB when extracting them.
</dl>

<p>
If no object numbers are given on the command line, all images
and fonts will be extracted.

</article>

<footer>
<a href="http://artifex.com"><img src="artifex-logo.png" align="right"></a>
Copyright &copy; 2006-2017 Artifex Software Inc.
</footer>

</body>
</html>
