ensure file format is PNG