Possible Duplicate:
Convert RenderTargetBitmap to BitmapImage
I need to perform the convertion RenderTargetBitmap -> BitmapImage. What is the way to do that?
Thank you in advance!
Cheers
BitmapImage and RenderTargetBitmap both inherit directly from BitmapSource. The functionality that BitmapImage supplies over BitmapSource is just for ease of loading from an URI. I can't think of any scenario where you would need a BitmapImage rather than a BitmapSource (which RenderTargetBitmap already is) after you already have the image loaded / rendered.
What specifically are you trying to do?
精彩评论