摘要: 分析:一般出现这种问题都是GDI和原数据(比如Bitmap)是同一个实体,只不过是两个引用。换句话说就是这个路径的图片被GDI占用啦。还有一种情况是路径有问题。场景一:WPF的Image控件的Source属性绑定一个图片路径的时候需要吧Bitmap转换成ImageSource。Bitmap _lastBitmap; public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { i... 阅读全文
posted @ 2013-11-14 10:37 亲福 阅读(681) 评论(0) 推荐(0)