[magick-users] problems converting a PNG image from RGBA to RGB
Manlio Perillo
manlio_perillo at libero.it
Wed May 28 10:11:34 PDT 2008
David Vanderson ha scritto:
> Manlio Perillo wrote:
>> 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
>>
>>
> Manlio,
>
> I'm not sure what's going on, but adding -flatten seems to help.
>
> convert img-rgba.png -flatten +matte img-rgb.png
>
> convert -version
> Version: ImageMagick 6.4.0 04/15/08 Q16 http://www.imagemagick.org
>
> Thanks,
> Dave
Thanks for the quick response.
Adding -flatten solves the problem.
$convert -version
Version: ImageMagick 6.3.7 05/02/08 Q16 http://www.imagemagick.org
Manlio Perillo
More information about the Magick-users
mailing list