Script for converting PDF to EPS images on OS X
PostScript Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
converted tweak script, add example May 4, 2015
LICENSE Initial commit May 3, 2015 c-e README May 4, 2015
example_file.pdf tweak script, add example May 4, 2015
pdf2eps conflict May 7, 2015


Want to automatically convert a few PDF files to EPS? Turns out there's various programs to try that each give a slightly different result... With that in mind here's a bash script that tries a few methods allowing you to find which works for your file (OS X specific). Current methods attempted:

  1. Inkscape
  1. ImageMagick
  • Install with homebrew: brew install imagemagick
  • Nightmarish results
  1. ghostscript
  • Install with homebrew: brew install ghostscript
  • Good conversion + respects PDF bounding
  1. pdftops
  • Part of xpdf
  • Similar decent results to ghostscript


./pdf2eps example_file.pdf


Other than those above, GNU tools should be installed (e.g. grealpath). Install these with homebrew:

brew install coreutils