BitMiracle.LibJpeg.JpegImage.Dispose C# (CSharp) Method

Dispose() public method

Frees and releases all resources allocated by this JpegImage
public Dispose ( ) : void
return void
        public void Dispose()
        {
            Dispose(true);
            GC.SuppressFinalize(this);
        }

Same methods

JpegImage::Dispose ( bool disposing ) : void

Usage Example

Example #1
0
 public override Image Load(Stream s)
 {
     BitMiracle.LibJpeg.JpegImage j = new BitMiracle.LibJpeg.JpegImage(s);
     Image i = (Image)j.ToBitmap();
     j.Dispose();
     System.GC.Collect();
     return i;
 }
All Usage Examples Of BitMiracle.LibJpeg.JpegImage::Dispose