Alex Rivera | Logout

PNG to eps conversion massive increase in file size

Asked 2010-12-10T12:28:11.043
29

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

Edit
Report

1 Answer

2

I had a similar problem and solved it using the -sample parameter:

convert image.png -sample 100 image.eps

and tweak the -sample value to fit your need.

Also see ImageMagick v6 Examples -- Resize or Scaling

N.B. The inverse (from EPS/PDF to PNG/JPG) can be tuned using -density.

answered 2012-12-11T12:54:47.027

Your Answer