How do I get a RenderTargetBitmap object into a SoftwareBitmap? It is possible to get a RenderTargetBitmap as Image Source and on the other side i can use a SoftwareBitmap as a SoftwareBitmapSource and turn that into an ImageSource. But how can I convert RenderTargetBitmap directly to SoftwareBitmap?
RenderTargetBitmap. GetPixelsAsync returns an IBuffer which you can copy into a SoftwareBitmap with SoftwareBitmap. CreateCopyFromBuffer
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.