public static Bitmap FromFile( string fileName )
Public Shared Function FromFile ( fileName As String ) As Bitmap
The method is provided as an alternative ofmethod to solve the issues of locked file. The standard .NET's method locks the source file until image's object is disposed, so the file can not be deleted or overwritten. This method workarounds the issue and does not lock the source file.
Bitmap image = Accord.Imaging.Image.FromFile( "test.jpg" );