public void Close()
 {
     if (!slide.IsDisposed)
     {
         slide.Dispose();
     }
     imgBmpBuf = new byte[Helper.BMP_BGRA_DATA_OFFSET + 4096 * 4096 * 4];
 }
Example #2
0
 public void Dispose()
 {
     _generator.Dispose();
     _image.Dispose();
 }