Convert output image from ppm to png.