예제 #1
0
        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
        {
            if (value == null)
            {
                return(null);
            }
            var image = (BitmapImage)value;

            return(BitmapUtility.BitmapImage2Bitmap(image));
        }