formatted picture to png