Page 1 of 1

aliase problem when converting PostScript images

Posted: 2008-07-06T15:07:51-07:00
by donovaly
I'm using Ghostscript 8.62 and ImageMagick 4.6.1-1.

When I convert this file:
http://fkurth.de/uwest/bugreports/test2.eps
with the command

Code: Select all

convert test2.eps test2.jpg
I get this result:
http://fkurth.de/uwest/bugreports/test2.jpg
You can see that the image gets aliased.

But when I convert it to PNG instead of JPG, it the image is correctly converted without being aliased:
http://fkurth.de/uwest/bugreports/test2.png

Re: aliase problem when converting PostScript images

Posted: 2008-07-06T15:34:37-07:00
by magick
Not a bug. Its an artifact of converting an image with an alpha channel (test2.eps) to one that does not support transparency (test.jpg). To get the results you desire, use
  • convert test2.eps -flatten test2.jpg
even better
  • convert -density 400 test2.eps -resize 25% -flatten -quality 90 test2.jpg

Re: aliase problem when converting PostScript images

Posted: 2008-07-06T16:13:03-07:00
by donovaly
Many thanks for the prompt reply. This was indeed my problem.