[magick-users] problems converting a PNG image from RGBA to RGB

Manlio Perillo manlio_perillo at libero.it
Wed May 28 06:54:13 PDT 2008


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


More information about the Magick-users mailing list