Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

PostScript


Subsections

A useful tool for converting from PostScript to other editable formats (including vector formats like fig and svg) is pstoedit.

To convert from PostScript to XFig placing the output into example.fig:

  $ pstoedit -f fig example.ps

To convert from PostScript to SVG placing the output into example.svg:

  $ pstoedit -f plot-svg example.ps

Use:



  $ epstopdf image.ps

Some applications (e.g., Splus) seem to place extra white space around the encapsulated PostScript that they generate. This is a problem when importing into other packages, such as LaTeX. A simple solution is:



  $ ps2eps < original.eps > new.eps

This determines an accurate bounding box and trims the image to that box.


Copyright © 1995-2018 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware and the author of the open source software Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials of Data Science.