You should note that though PNG allows images to have a transparent area, that doesn’t mean all images saved in PNG format have a transparent background. Therefore, the reason why you see a white background on the PNG file may be that you just save the image with a white background in PNG format but didn't remove the background in advance.