i used  Gimp http://www.gimp.org/ to make the background transparent and save as png.

you can check out http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1501.0 which i remove the background of the planets by cropping in Gimp

good luck!