creates the png file