我需要执行转换RenderTargetBitmap - > BitmapImage的。这样做的方法是什么?
提前谢谢!
干杯
答案 0 :(得分:1)
BitmapImage和RenderTargetBitmap都直接从BitmapSource继承。 BitmapImage通过BitmapSource提供的功能只是为了便于从URI加载。我想不出你需要一个BitmapImage而不是BitmapSource(RenderTargetBitmap已经是)之后你已经加载/渲染图像的任何场景。
你具体想做什么?