The TeX Catalogue Online

ps2eps

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. ps2eps needs perl, ghostscript and an ANSI-C compiler if your platform is not Linux, Solaris, Digital Unix or Windows 2000/9x/NT (for which binaries are included).

Included in the distribution is the bbox program, an application to produce Bounding Box values for rawppm or rawpbm format files.

The author is Roland Bless. The package is Copyright © 1999-2006 Roland Bless.

License: gpl Version: 1.68 Catalogued: 2010-08-31