Exemple #1
0
 public LoadBitmap(int frameNumber, string filePath)
 {
     savedBitmap  = new Bitmap(filePath + frameNumber + ".bmp");
     streamBitmap = new MemoryStream();
     savedBitmap.Save(streamBitmap, ImageFormat.Bmp);
     savedBitmap.Dispose();
     BitmapFromStream = new Bitmap(streamBitmap);
     FileOperation.Remove(filePath + frameNumber + ".bmp");
 }
Exemple #2
0
 public void RemoveFile(int actualFrame)
 {
     FileOperation.Remove(temporaryFilesPath + actualFrame + ".bmp");
 }