private Bitmap LoadImagetoBMP(System.Windows.Controls.Image image) { BitmapSource bitmapsource = (BitmapSource)image.Source; System.Drawing.Bitmap originalbmp = _bitmapHelper.BitmapFromSource(bitmapsource); return(originalbmp); }