Dispose the object.Namespace: AForge.Imaging
Assembly: AForge.Imaging (in AForge.Imaging.dll) Version: 220.127.116.11 (18.104.22.168)
public void Dispose()
Frees unmanaged resources used by the object. The object becomes unusable after that.
Note:The method needs to be called only in the case if unmanaged image was allocated using Create(Int32, Int32, PixelFormat) method. In the case if the class instance was created using constructor, this method does not free unmanaged memory.