This is wierd, I just tried with a png image (the default icon.png) and it works fine.
Are you sure the file path is correct ? (res://path/to/image.png)
What did you use to create the png image (I know that paint does not export png files correctly) ?