Esempio n. 1
0
 public void SaveToFile(string filePath)
 {
     if (this.IsGreyScale)
     {
         FreeImage.SaveFIBToFile(this.Dib, filePath, FIA_BITDEPTH.BIT8);
     }
     else
     {
         FreeImage.SaveFIBToFile(this.Dib, filePath, FIA_BITDEPTH.BIT24);
     }
 }
Esempio n. 2
0
 public void SaveToFile(string filePath, FIA_BITDEPTH depth)
 {
     FreeImage.SaveFIBToFile(this.Dib, filePath, depth);
 }