Page 1 of 1
convert eps to gif with transparency gives jaggy result
Posted: 2014-02-15T05:33:31-07:00
by mwboy
I have been using ImageMagick for many years to convert EPS to GIF files. This works fine in older versions of IM on my very old iMac. However, attempting the conversion in a modern version of IM on my newer machines consistently gives different and very ugly results. Any idea what the problem could be? Here is what I am doing:
Code: Select all
convert -colorspace rgb -transparent white -density 100% -interlace Plane infile.eps outfile.gif
infile:
https://www.dropbox.com/s/uqvq3s5rmwneduf/infile.eps
bad outfile:
https://www.dropbox.com/s/fooau4rxkey8v ... le-bad.gif
correct outfile:
https://www.dropbox.com/s/mx6bglk4eteck ... e-good.gif
Thanks,
-Eric
Re: convert eps to gif with transparency gives jaggy result
Posted: 2014-02-15T10:21:05-07:00
by magick
Try this command:
- convert -colorspace rgb -transparent white -density 400 infile.eps -resize 25% -interlace Plane outfile.gif
Re: convert eps to gif with transparency gives jaggy result
Posted: 2014-02-15T11:14:52-07:00
by mwboy
Thanks, but I'm afraid that's even worse than before:
https://www.dropbox.com/s/j273q704b4qix ... le-new.gif
Re: convert eps to gif with transparency gives jaggy result
Posted: 2014-02-15T11:19:58-07:00
by mwboy
(FWIW, replacing outfile.gif with outfile.png in the original code gives a beautiful result)
Re: convert eps to gif with transparency gives jaggy result
Posted: 2014-02-16T01:20:58-07:00
by snibgo
The result from ...
Code: Select all
convert infile.eps -background White -flatten e.gif
... looks good to me. IM v6.8.8-0 on Windows 8.1.
Re: convert eps to gif with transparency gives jaggy result
Posted: 2014-02-16T02:54:59-07:00
by dlemstra
Did you install the latest version of GhostScript on your newer machine?
Re: convert eps to gif with transparency gives jaggy result
Posted: 2014-02-16T22:12:48-07:00
by mwboy
Yes: GPL Ghostscript 9.10 (2013-08-30)
And I should mention that even the output of
Code: Select all
convert infile.eps outfile-test.gif
is bad
Re: convert eps to gif with transparency gives jaggy result
Posted: 2014-02-16T23:11:52-07:00
by fmw42
what happens with
Code: Select all
convert -density 300 -colorspace sRGB infile.eps outfile-test.gif
Re: convert eps to gif with transparency gives jaggy result
Posted: 2014-02-17T09:27:36-07:00
by mwboy
what happens with...
That output looks fine.