I\'ve got some PNG images with transparency, and I need to create versions with the image layer composed onto a white background. I\'ve tried various things with Image Magi
This works for me:
convert -flatten img1.png img1-white.png
-flatten
-layers flatten