Method ppm_write_to_file const (like that the Image cannot be modified)