Comprehensive TeX Archive Network

ps2eps – Produce Encapsulated PostScript from PostScript

Pro­duce En­cap­su­lated PostScript Files (EPS/EPSF) from a one-page PostScript doc­u­ment, or any PostScript doc­u­ment. A cor­rect Bound­ing Box is cal­cu­lated for the EPS files and some PostScript com­mand se­quences that can pro­duce er­ror­neous re­sults on print­ers are fil­tered. The in­put is cropped to in­clude just the im­age con­tained in the PostScript file. The EPS files can then be in­cluded into doc­u­ments.

Other pro­grams like ps2epsi (a script dis­tributed with ghostscript) don’t al­ways cal­cu­late the cor­rect bound­ing box (be­cause the val­ues are put on the PostScript stack which may get cor­rupted by bad PostScript code) or they round it off, re­sult­ing in clip­ping the im­age. There­fore ps2eps uses a res­o­lu­tion of 144 dpi to get the cor­rect bound­ing box. The bun­dle in­cludes bi­na­ries for Linux, So­laris, Dig­i­tal Unix or Win­dows 2000/9x/NT; for other plat­forms, the user needs perl, ghostscript and an ANSI-C com­piler.

In­cluded in the dis­tri­bu­tion is the bbox pro­gram, an ap­pli­ca­tion to pro­duce Bound­ing Box val­ues for raw­ppm or raw­pbm for­mat files.

Sources /support/ps2eps
Ver­sion 1.68
Li­cense GNU Gen­eral Public Li­cense
Main­tainer Roland Bless
Con­tained in TeX Live as pstools
Topics ma­nip­u­late Postscript files

Down­load the con­tents of this pack­age in one zip archive (105.4k).


Here you can see a re­spec­tive di­a­gram in newer browsers.


Guest Book Sitemap Contact Contact Author