PNG to eps conversion massive increase in file size

Freddie picture Freddie · Dec 10, 2010 · Viewed 39.4k times · Source

I'm converting an image from .png to .eps and it hugely increases the file size. Can anyone explain why this is, and how to prevent it increasing so much.

I'm using Unix convert: convert image.png image.eps

Thanks for any help

Answer

Georg Wachter picture Georg Wachter · Nov 11, 2013

Use level 3 postscript if you can. In general, level 3 will produce the smallest files. Level 2 provides the best compatibility, and works well with jpeg images. (see http://electron.mit.edu/~gsteele/pdf/)

convert fig.png eps3:fig.eps