11

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

8
  • 1
    This is from an answer from Tex: bash script.
    – bb010g
    Commented Dec 17, 2012 at 13:56
  • Thanks @bb010g, I saw that answer but it uses pdftops which has some problems with gradients in my case.
    – Tim
    Commented Dec 17, 2012 at 14:28
  • 1
    acroread -toPostScript Commented Dec 18, 2012 at 19:10
  • Thanks Martin, but I think this is Linux-only correct? Do you know if and how Adobe Reader for Mac (or Windows) can also do this?
    – Tim
    Commented Dec 21, 2012 at 10:44
  • 1. EPS export works well from Illustrator 2. If inkscape is too slow (compute time is cheap), you should try building it from source 3. Use WINE... I work in this field and we do #1.
    – Mikhail
    Commented Dec 31, 2012 at 5:12

4 Answers 4

2

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.

1

If you want an exhaustive list of possibilities, note that OpenOffice/LibreOffice implement this feature, but the result quality is somewhere between ghostscript and ImageMagick in your list above. And there are more fundamental problems. Read on.

The principle is that the application opens PDF files as "Draw" documents, which can then be manipulated and printed at will. The quality depends on the import from PDF to Draw, and it has difficulties with path clipping, gradients and fonts beyond the three standard ones (serif, sanserif, typewriter).

There is even a possibility to launch the conversion interactively

openoffice -print-to-file input.pdf
libreoffice -print-to-file input.pdf

(choose one!). It yields input.ps in that case.

However, there are known problems, e.g. with LibreOffice 4.4 (which I tested in release 4.4.0.3) and reported here, that the output file contains PDF instead of PostScript. (This used to work in earlier versions.)

My favourite one is inkscape, or ghostview for simpler files. And my experience is that I can never trust automatic (command line) conversion, especially when working on different machines, and a manual inspection of the result is mandatory, which makes it most of the time faster to convert interactively anyway.

0

The best way to do this would be using Illustrator it self. I am not sure if you have Illustrator.

0

Another possibility for the list is the web service https://cloudconvert.com/pdf-to-eps (not sure what library it uses). I haven't tried it for EPS, but converting to EMF has worked well for me.

More description per DragonLord's suggestion: This website allows you to upload files in many formats (one option being PDF) and select a format to convert to (one option being EPS), and it will do the conversion and give you a link for downloading. There is a limit to how many files you can convert per day for free.

1
  • Please exercise caution when recommending software. As written, your answer may be seen as spam. Your answer should include a description of the software and how it addresses the question. More information: How do I recommend software in my answers?
    – bwDraco
    Commented Aug 28, 2015 at 19:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .