yeah, 'convert' uses background to fill the transparent area in an PNG.
And this option tells 'convert' to use white backgroud.

But how can I do this procedure in a C++ program?
I have tried a lot of ways but finally I had to convert the pixels one by
one
which is ineffecient.

2010/1/25 Fred Weinhaus <[email protected]>

> jpg does not support transparency!
>
> but you can flatten the transparency into any other non-transparent color
>
> convert image.png -background white -flatten image.jpg
>
>
> _______________________________________________
> Magick-users mailing list
> [email protected]
> http://studio.imagemagick.org/mailman/listinfo/magick-users
>
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to