Click or drag to resize
Accord.NET (logo)

UnmanagedImageDispose Method

Dispose the object.

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public void Dispose()
Request Example View Source

Implements

IDisposableDispose
Remarks

Frees unmanaged resources used by the object. The object becomes unusable after that.

Note 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.
See Also