Method SystemDrawingBitmapToWpf
SystemDrawingBitmapToWpf(Bitmap)
Converts given System.Drawing.Bitmap to its WPF representation.
public static BitmapSource SystemDrawingBitmapToWpf(Bitmap bitmap)
Parameters
bitmap
Bitmap
Returns
- BitmapSource
The System.Windows.Media.Imaging.BitmapSource represents source image.