Package texlive-ps2eps

Produce Encapsulated PostScript from PostScript

http://tug.org/texlive/

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 erroneous
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.

Version: 20200327

General Commands

bbox prints out the bounding box of a rawppm or rawpbm image
ps2eps convert PostScript to EPS (Encapsulated PostScript) files