wpf里的图片赋值语句是Image yourImg = new Image() { Source = new BitmapImage(new Uri("Images/cc.jpg", UriKind.RelativeOrAbsolute)) };
把你的图片保存到某个路径,再设置图片不就是字符串了吗?