Changes figures to png.