Bad results converting PDF to EPS on Linux

Posted by Tim on Super User See other posts from Super User or by Tim
Published on 2012-12-17T11:51:50Z Indexed on 2014/06/13 9:32 UTC
Read the original article Hit count: 383

Filed under:
|
|
|

I'm having some trouble converting PDFs (created by Adobe Illustrator on a Mac) to EPS. I have tried several things but I am wondering if there is a better option.

The following list is ordered by decreasing quality:

  1. inkscape --export-area-page --export-eps=out.eps in.pdf using the graphical program Inkscape works best, but is a bit slow;
  2. pdftops -eps in.pdf out.eps uses Poppler and works good and is fast;
  3. pdf2ps in.pdf out.eps uses ghostscript and works ok for simple documents;
  4. convert in.pdf out.eps uses ImageMagick and always rasterizes the image.

I haven't tested the following:

  1. acroread -toPostScript use acroread (Linux only)

Some issues I've found:

  • Transparency is not supported in EPS, but instead of flattening the layers, most programs rasterize the image producing big files and ugly graphs. Inkscape does this best by only rasterizing the unsupported area.
  • Gradients are rendered properly by Inkscape, but Poppler somehow chops up the gradient into many shapes of different colors.
  • Greek symbols are seemingly not supported by Ghostscript and are rasterized (using pdf2ps).

What are your experiences for this kind of task? Did I forgot certain programs and/or command line options that improve quality?

I found some posts on this, but not a (thorough) comparison of possibilities, please correct me if I'm wrong.

Related posts

© Super User or respective owner

Related posts about linux

Related posts about pdf