Linux – Bad results converting PDF to EPS on Linux

epsimage conversionlinuxpdf

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

Best Answer

From my experience the best free transparency flattening you can get is from Adobe Reader by printing to PostScript file (eg. using good old Apple Color Laser print driver). Then you need another tool to convert it to eps.

Related Question