thanks for your explanations. i have mentioned that before: On Mon, Jan 25, 2010 at 10:15, Pete Whatever <[email protected]> wrote: >> Try this: >> >> convert w.png -background white -flatten w1.jpg >> >> Best Wishes >> Pete
On Mon, Jan 25, 2010 at 14:10, Fred Weinhaus <[email protected]> wrote: >>i have tried -fill white and -backgroud white too, but i don't know >>why -opaque or -flatten is needed. > > > convert image.png -fill white -opaque none image.jpg > > > this replaces transparency (-opaque none) with white. The -opaque > none specifies that there are pixels with transparency (no opacity) > to be replaced and the -fill white is the replacement color > > > > convert image.png -background white -flatten image.jpg > > > this simply applies a white background over which the image is > composited (-flatten) so that looking through the transparent areas > one see white and then turns off the transparency. Thus where ever > there was transparent white shows in its place. > > > Fred > _______________________________________________ > Magick-users mailing list > [email protected] > http://studio.imagemagick.org/mailman/listinfo/magick-users > -- contact me: MSN: [email protected],[email protected] GTALK: [email protected] QQ:25329680 _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
