extractres - Man Page
extract resources from a PostScript document
Synopsis
extractres [OPTION...] [INFILE [OUTFILE]]
Description
Extract resources from a PostScript document.
- -m, --merge
merge resources of the same name into one file (needed e.g. for fonts output in multiple blocks)
- --help
display this help and exit
- -v, --version
display version information and exit
extractres extracts resources (fonts, procsets, patterns, files, etc) appearing in a PostScript document, and puts appropriate %%IncludeResource comments in the document prologue. The extracted resources are written to files with the same name as the resource, and an appropriate extension. The pipeline
extractres file.ps | includeres >out.ps
will move all resources appearing in a document to the document prologue, removing redundant copies. The output file can then be put through page re-arrangement filters such as psnup or pstops safely.
Exit status
- 0
if OK,
- 1
if arguments or options are incorrect, or there is some other problem starting up,
- 2
if there is some problem during processing, typically an error reading or writing an input or output file.
Author
Written by Angus J. C. Duggan and Reuben Thomas.
Bugs
extractres does not alter the %%DocumentSuppliedResources comments.
Copyright
Copyright © Reuben Thomas 2012-2022.
Copyright © Angus J. C. Duggan 1991-1997.
Trademarks
PostScript is a trademark of Adobe Systems Incorporated.