try

convert img-rgba.png -flatten img-rgb.png

if that does not do what you want, then post a link to a correctly 
processed version from GIMP.




>Hi all.
>
>I'm having some troubles when trying to convert a PNG image from RGBA to
>RGB colorspace.
>
>convert img-rgba.png +matte img-rgb.png
>
>The original image is:
>    http://mperillo.ath.cx/img-rgba.png  187K
>and the converted one is:
>    http://mperillo.ath.cx/img-rgb.png  109K
>
>
>The same problem happens when I convert the image to JPEG.
>I have tried the JPEG conversion using PIL (Python Imaging Library), and
>   the problem is the same.
>
>However if I do the conversion to JPEG using Gimp, the resulting image
>is correct.
>
>
>What's the cause of the problem?
>
>
>
>Thanks   Manlio Perillo
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to