Beispiel #1
0
 private void Save()
 {
     try
     {
         BitmapToOutput.Save(temporaryFilesPath + actualSelection + ".bmp", System.Drawing.Imaging.ImageFormat.Jpeg);
     }
     catch (ExternalException ex)
     {
         PassException.exceptionThrown = new ExternalException("No access to file. Change tmp directory", ex);
     }
     finally
     {
         BitmapToOutput.Dispose();
     }
 }
Beispiel #2
0
 public void Dispose()
 {
     bitmapFromInput.Dispose();
     BitmapToOutput.Dispose();
 }