Assuming you're using Blender, F10 for render settings, on the rightmost panel of that menu select RGBA and change the format from JPEG to PNG, on the second panel, change the selection from Sky to Key, then get your render set up and press F3 to save the rendered image.
Works fine for me.