[UWP] [VB]将RenderTargetBitmap转换为BitmapImage [英] [UWP][VB]Converting RenderTargetBitmap to BitmapImage

查看:114
本文介绍了[UWP] [VB]将RenderTargetBitmap转换为BitmapImage的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有RenderTargetBitmap的UWP应用程序,我需要 转换为BitmapImage。我发现的所有东西都包含诸如溪流和物流之类的东西。编码器,但我无法得到任何工作。我使用流,编码器或任何其他
其他没有问题,我只需要弄清楚如何做到这一点。谁能举个例子?谢谢。



Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

解决方案

< blockquote>这是一个: https://stackoverflow.com/questions/32947267/convert-一个-rendertargetbitmap到的BitmapImage

I have a UWP app with a RenderTargetBitmap which I need  to convert to a BitmapImage. Everything I have found involves stuff such as streams & encoders, but I could not get anything to work. I have no problem using streams, encoders, or anything else, I just need to figure out how to do it. Can anybody give me an example? Thanks.


Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

解决方案

This one it the one:https://stackoverflow.com/questions/32947267/convert-a-rendertargetbitmap-to-bitmapimage


这篇关于[UWP] [VB]将RenderTargetBitmap转换为BitmapImage的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆