Package texlive-pstools

Produce Encapsulated PostScript from PostScript

Produce Encapsulated PostScript Files (EPS/EPSF) from a one-
page PostScript document, or any PostScript document. A correct
Bounding Box is calculated for the EPS files and some
PostScript command sequences that can produce errorneous
results on printers are filtered. The input is cropped to
include just the image contained in the PostScript file. The
EPS files can then be included into TeX documents. Other
programs like ps2epsi (a script distributed with ghostscript)
don't always calculate the correct bounding box (because the
values are put on the PostScript stack which may get corrupted
by bad PostScript code) or they round it off, resulting in
clipping the image. Therefore ps2eps uses a resolution of 144
dpi to get the correct bounding box. Included in the
distribution is the bbox program, an application to produce
Bounding Box values for rawppm or rawpbm format files.

General Commands
Command Description
bbox prints out the bounding box of a rawppm or rawpbm image
ps2eps convert PostScript to EPS (Encapsulated PostScript) files
ps2frag obsolete shell script for the PSfrag system.
pslatex utility to typeset LaTeX files using PostScript fonts