4

I would like to convert PNG images/graphs to EPS without losing even a bit on resolution. All the commands I tried (potrace, autotrace, convert, gimp) decrease the resolution quality.

polym
  • 10,672
  • 9
  • 41
  • 65
HP AS
  • 43
  • 1
  • 1
  • 4
  • When you say "conversion to EPS", do you actually want to vectorize the image, or do you just want to wrap the PNG image into a EPS file? – lgeorget Jul 10 '14 at 09:17
  • I want to vectorize the image – HP AS Jul 10 '14 at 09:29
  • 1
    What do you mean by "losing a bit"? How do you want to compare the output **vector** graphics data with the original PNG? Do you render the vector graphics? If so with what, at what resolution compared to the PNG and with what kind of anti-aliasing? – Anthon Jul 10 '14 at 09:40
  • Yes I understand about "without losing even a bit on resolution". I am sorry, I just meant the best possible eps image. – HP AS Jul 10 '14 at 09:58

1 Answers1

6

Some people have had success with png2eps.

Remember that whatever system you use to convert PNG to EPS it will be a tradeoff between image quality and file size. PNG is a compressed bitmap format while EPS is uncompressed vector graphics - the two formats couldn't be more different.

There is no resolution in a vector image until you attempt to convert it to a bitmap, or display it (a vector image is converted to bitmap for printing or displaying on a monitor). Unfortunately, converting "without losing even a bit on resolution" doesn't make sense in this instance.

Also note that the resulting EPS file will be much larger than the PNG input.

garethTheRed
  • 33,289
  • 4
  • 92
  • 101
  • Yes I understand about "without losing even a bit on resolution". I am sorry, I just meant the best possible eps image. – HP AS Jul 10 '14 at 09:38