I would like to convert PNG images/graphs to EPS without losing even a bit on resolution. All the things I tried (potrace, autotrace, using convert, gimp) the resolution is getting too bad. Any kind of help will be highly appreciated. I am using Ubuntu.

  • 2
    Related: PNG to eps conversion massive increase in file size, and the article Convert png to eps, which mentions a software named "bmeps" as the solution for high-res conversion. Not tried it myself, but thought mentioning it might be helpful.
    – Izzy
    Jul 10, 2014 at 13:30
  • I'm actually using Inkscape for bitmap vectorization. I don't know if you can directly output EPS, but i'm pretty sure converting SVG to EPS is very easily and totally lossless.
    – Graveen
    Mar 17, 2015 at 15:39

2 Answers 2


Vector Magic is the best image to vector program in my humble opinion.

Here is an example jpg that I have vectorized in the following image using Vector Magic:

panofish logo

Here is a zoomed area of the resultant vector. Vector Magic give great flexibility to choose the number of colors and the degree of vectorization. In this example I chose 3 main colors, black, white and brown. Vector Magic detected and suggested those colors, but I could have chosen more or fewer. You can also choose the degree of vector detail. This example took me less than a minute to generate and I can regenerate on the fly... until I am happy with the result.

panofish vector

If you have a high quality bitmap for input you will quickly get a high quality vector with little need to tweak in illustrator (or your favorite vector package). But, even with a low resolution and image with compression artifacts, Vector Magic can detect the artifacts and provide a quality vector which may need some revision in illustrator. This will still be faster than creating the vector from scratch.


  • Batchable
  • Full automation, Basic or Advanced with fine-tuned control.
  • Palette selection
  • Anti-aliasing engine
  • Artifact rejection
  • Vector editing tools
  • Sharp corner detection
  • Path smoothing
  • Background removal options

Export to EPS, SVG, PDF, AI, DXF and EMF. Works with Illustrator, Corel, and others.

This page on their site show a good comparison against alternative vectorization packages... http://vectormagic.com/home/comparisons

The software is free to try. You can't save the vector until you buy it. Test it with any bitmap and see for yourself

  • details are always nice ;) Jul 12, 2014 at 0:10
  • @panofish could you expand on your answer a bit? Currently its a link only answer. Could you add a screenshot and a bit of personal experience with that tool? Mar 17, 2015 at 10:03

You can use convert from the ImageMagic package.

convert Image.png Image.eps

To install ImageMagic in Ubuntu:

sudo apt-get install imagemagick

You can also use sam2p

It’s a small application that converts raster images into bunch of different formats. You probably won’t find it in a default installation so just do:

sudo apt-get install sam2p

Note that you need to have universe enabled in your apt sources. Once you install it, the rest is easy:

sam2p Image.png EPS: Image.eps

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.