opti write_ppm