mutool audit#
The audit
command prints a report of operator and space usage
for a PDF file.
mutool audit [options] file
Note
Command line parameters within square brackets []
are optional.
[options]
Options are as follows:
-o
output fileUse the specified filename for the produced HTML report.
file
Input file name. The input must be a PDF file.
The output report#
The report takes the form of an HTML document. The report assumes a fair degree of familiarity with the PDF format.
The first section of the file gives figures for the proportions of the file that are objects vs the overheads for storing those objects, for both objects inside and outside of ObjStms.
It also lists the size of as a percentage of the whole file.
The second section of the file gives figures for the usage of the different objects within the file.
The classification of objects is simplistic, but works in most cases.
The final section of the file gives figures for the frequency of use of different graphical operators within operator streams.
These figures should be taken as being indicative, rather than 100% accurate.
This software is provided AS-IS with no warranty, either express or implied. This software is distributed under license and may not be copied, modified or distributed except as expressly authorized under the terms of that license. Refer to licensing information at artifex.com or contact Artifex Software, Inc., 39 Mesa Street, Suite 108A, San Francisco, CA 94129, USA, for further information.