impl create_ppm_file