Manually Convert EPS to SVG

October 23, 2007

Update: Several readers have suggested easier and more effective methods. Check the comments section!

EPS is the vector graphic file format Adobe Illustrator saves in. Supposedly you can import these files directly to Inkscape if you have skencil and pstoedit installed, but I couldn’t make it work. So I converted it manually using the GIMP and Inkscape. Here’s how I did it.

First, open the file with the GIMP. When you do, the import dialog box will appear. The important setting here is the resolution. The higher the resolution, the more accurate the image will appear. I used 600, but you could go higher for more detail. GIMP 2.4 automatically adjusts the width and height, but if your version does not, make sure you multiply the width and height by the same factor as the resolution. Also, select “Strong” under both the antialiasing headings.

GIMP import EPS settings

Once you’ve got it open in the GIMP, you’re going to save as a PNG file. Here are the settings I use:

GIMP save to PNG dialog

Now you can close the GIMP if you want to free up some RAM, and open the new PNG file in Inkscape. In Inkscape, click Path > Trace to bitmap.

Trace bitmap

Inkscape will trace the bitmap and paste the new vector directly on top of the bitmap, so you may not notice any difference. Simply click the image and drag it to the side, and you’ll see there are two copies. The one with a transparent background is the vector. You should delete the bitmap by selecting it and pressing [Del].

Finally, you’ll want to center your new vector back on the page. Making sure it’s selected, click the Align and Distribute button. Change the “Relative to” drop down box to “Page”. Now, click the center vertically and center horizontally buttons once each.

Center to the page

Finally, save the file in SVG format, and you’re done.

11 Responses to “Manually Convert EPS to SVG”

  1. bautz Says:

    Or you can use pstoedit

    pstoedit -f plot-svg inputfile.eps outputfile.svg

    :)

  2. Scott Says:

    Very nice. I’ll give that a try. Thanks!

  3. dahernan Says:

    An other option is use Scribus, import and save as svg.

  4. Scott Says:

    I couldn’t get pstoedit to work. It starts and acts like it’s doing something, but then it just sits there.

    I don’t have Scribus installed at the moment, but I’ll give it a try later.

    Thanks!

  5. Harold Naparst Says:

    Pstoedit requires a license key to save to svg.

  6. Tech-Cookies » From EPS to SVG Says:

    [...] and some paths were filled, rather than originally being hollow.. I then found this blog entry on Gimparoo! on how to convert eps files manually. He suggests opening the eps file using gimp with a high [...]

  7. EPS to SVG Conversion « Chris’ Blog Says:

    [...] laziness, these always seem to come in EPS. For a long time now, I have used the method outlined at Gimparoo, but this has limited me to logos that are one-colour. This presents a problem for more complicated [...]

  8. beta Says:

    Worth a try. Also the scribus way.

  9. beta Says:

    How about the .ai files?

  10. Peter Says:

    Check eps2svg.info for online conversion service

  11. enars Says:

    eps2svg.info is not available anymore - 404 Not Found!

Leave a Reply