xamarin android 如何用字符串生成图像 [英] xamarin android how generate image with a string

查看:34
本文介绍了xamarin android 如何用字符串生成图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个 xamarin android 应用程序,它调用一个 API,该 API 将二维码作为字符串发送看看我加入的打印屏幕,这是我在调用 api 后收到的内容 ..

we have an xamarin android app who call an API who send a QRCode as a string Look the print screen i join, here is it what i receive after the call to the api ..

现在我想将此字符串转换为图像,但我不能.

Now i would like to transform this string into a image but i can't.

有人知道如何将这个字符串转换成图像吗?!谢谢

Someone has idea how to transform this string into an image ?! thanks

推荐答案

问题解决,我们返回一个字节[],这样我们就可以显示图像

Problem solve, we return a byte[] and with this we can display image

这篇关于xamarin android 如何用字符串生成图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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