Dispose the object.Namespace: AForge.Imaging
Assembly: AForge.Imaging (in AForge.Imaging.dll) Version: 22.214.171.124 (126.96.36.199)
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.