Creates the IplImage instance from image file.
First this function tries to use cvLoadImage. If failed, this function tries to use GDI+.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- fileName
- Type: SystemString
[Missing <param name="fileName"/> documentation for "M:OpenCvSharp.IplImage.FromFile(System.String,OpenCvSharp.LoadMode)"]
- flags
- Type: OpenCvSharpLoadMode
[Missing <param name="flags"/> documentation for "M:OpenCvSharp.IplImage.FromFile(System.String,OpenCvSharp.LoadMode)"]
Return Value
Type: IplImage[Missing <returns> documentation for "M:OpenCvSharp.IplImage.FromFile(System.String,OpenCvSharp.LoadMode)"]
See Also