aliase problem when converting PostScript images

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
donovaly
Posts: 43
Joined: 2004-10-04T16:24:55-07:00

aliase problem when converting PostScript images

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: aliase problem when converting PostScript images

Post 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
donovaly
Posts: 43
Joined: 2004-10-04T16:24:55-07:00

Re: aliase problem when converting PostScript images

Post by donovaly »

Many thanks for the prompt reply. This was indeed my problem.
Post Reply