Convert png image to jpg with white background

mogrify -format jpg -background white -flatten *.png