使用javascript的输出base64创建qrCode [英] Create qrCode with output base64 from javascript
本文介绍了使用javascript的输出base64创建qrCode的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想用javascript中的输出base64字符串创建qr代码。
I want to create qr-code with output base64 string from javascript.
我发现 http://davidshimjs.github.io/qrcodejs/ 生成qr-code。
我想要的是从这个很棒的工具中获取base64字符串。
I found http://davidshimjs.github.io/qrcodejs/ for generate qr-code. That I want is get base64 string from this awesome tools.
推荐答案
qr.toDataURL(yourAwesomeData); //yourAwesomeData in Base64
这篇关于使用javascript的输出base64创建qrCode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文