Beispiel #1
0
 public void Load(string path, bool isPPM)
 {
     if (isPPM)
     {
         PPM ppm = PPM.LoadImage(path);
         LoadFromPPM(ppm);
     }
     else
     {
         Bitmap bitMap = new Bitmap(path);
         LoadFromBitmap(bitMap);
     }
 }