标签: c# wpf image bitmap
我需要从Image组件中获取图像, 在上面画矩形, 并将其放回Image组件。
Image
我知道如何在Bitmap上绘图,但我找不到任何简单的方法来绘制我从Image.Source获得的BitmapImage。
BitmapImage