changes images to pngs