Re: convert png with transparency to jpg
ZHOU Xiao-bo <[email protected]>
| Newsgroups | gmane.comp.video.image-magick.user |
|---|---|
| Message-ID | <[email protected]> |
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 >