示例#1
0
        private Bitmap LoadImagetoBMP(System.Windows.Controls.Image image)
        {
            BitmapSource bitmapsource = (BitmapSource)image.Source;

            System.Drawing.Bitmap originalbmp = _bitmapHelper.BitmapFromSource(bitmapsource);
            return(originalbmp);
        }