如何自动生成带“潜台词”的二维码
我想自动生成二维码,在其下方显示二维码的内容(交易ID)。那么最终产品应该是一张图片(最好是 png),其中包含代码+文本。
我一直在寻找具有该功能的库,但到目前为止还没有成功。
有什么提示吗?谢谢!
PS:目前正在使用Java(zxing)工作,但一切实用的都可以!
I want to automatically generate QR codes that display the content of the QR code (a transaction ID) beneath it. Then end product should be a pic (ideally png) with code + text in it.
I have been looking for libs with that capability, but so far was not successful.
Any hints? Thanks!
PS: currently working in Java (zxing), but everything that's practical will do!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也不知道直接解决方案的库,但将您的两个要求(1.生成二维码图像,2.在下面放置一些文本)结合到一个程序中应该不难。
我想您已经知道如何生成和获取二维码图像了。对于第二步,操作图像,以下SO问题有有用的答案:
Also don't know a library for a direct solution, but it shouldn't be hard to combine your two requirements (1. generate QR Code image, 2. put some text beneath) in a single program.
I guess you already know how to generate and get your QR Code image. For the second step, manipulating the image, the following SO-questions have useful answers: