如何将RenderTargetBitmap对象转换为SoftwareBitmap?可以将RenderTargetBitmap作为图像源,而另一方面,我可以使用SoftwareBitmap作为SoftwareBitmapSource并将其转换为ImageSource。但是如何将RenderTargetBitmap直接转换为SoftwareBitmap呢?
发布于 2016-01-28 01:38:28
RenderTargetBitmap.GetPixelsAsync返回一个IBuffer,您可以通过SoftwareBitmap.CreateCopyFromBuffer将其复制到SoftwareBitmap中。
https://stackoverflow.com/questions/35043114
复制相似问题