Assembly: AForge.Imaging (in AForge.Imaging.dll) Version: 126.96.36.199 (188.8.131.52)
- Type: System..::.String
File name to load bitmap from.
Return ValueReturns loaded bitmap.
The method is provided as an alternative of FromFile(String) method 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 = AForge.Imaging.Image.FromFile( "test.jpg" );