extractres(1)

extractres1

Usage

extractres [OPTION ...] [INFILE [OUTFILE]]

Overview

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. Extract resources from a PostScript document.

INFILE

`-' or no INFILE argument means standard input

OUTFILE

`-' or no OUTFILE argument means standard output

Options

-m, --merge

merge resources of the same name into one file (needed e.g. for fonts output in multiple blocks)

-v, --version

show program's version number and exit

-q, --quiet

don't show progress

Releases

19 releases since Debian 1.1 (Buzz); the text changed 5 times.

  1. 1.1–1.3
  2. 2.0–3.1
  3. 4.0–6.0
  4. 7–12
  5. 13
  6. Arch

--merge since Debian 13 (Trixie); --quiet since Debian 13 (Trixie); --version since Debian 13 (Trixie); -m since Debian 13 (Trixie); -q since Debian 13 (Trixie); -v since Debian 13 (Trixie).

Author


    


            

Bugs

extractres does not alter the %%DocumentSuppliedResources comments.

From psutils 3.3.17-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.