Monday, March 29, 2010

Linux: how to reduce eps file size?

I have couples of eps files which have a large size (>10 MB). Thus when using them in Latex, the output files (either pdf or ps) become very large and very slow to view. So it is necessary to reduce them first. Here provided is an approch working in Linux.

  1. Create a new open office drawing file, past your large eps file to the canvas.
  2. Add your canvas hence it has no too much extra-space (magine)
  3. Export your drawing file to a PDF file. Here you can use low compress factors etc.
  4. Use "pdftops -eps YourFile.pdf" to get your small-size eps file
Note: You can use open office drawing to export your file to an eps file directly, however, the eps file is even larger than your original one, so this exporting is not useful.

Locations of visitors to this page