如何在二维码中添加徽标 [英] how to add logo to qr codes

查看:59
本文介绍了如何在二维码中添加徽标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用zxing (java) 生成二维码,想知道一种在二维码中添加徽标的方法.是否有任何内置方法可以向其添加徽标或任何替代方法.

I am using zxing (java) to generate qr codes and want to know a method to add logo to the qr code. Is there any built in method for adding logo to it or any alternate for same.

推荐答案

您可能需要使用其他图像库添加图像叠加层.我设法找到了能够做到这一点的资源.http://skrymerdev.wordpress.com/2012/09/22/qr-code-generation-with-zxing/

You will have to add an image overlay perhaps using another image library. I managed to find this resource that was able to do it. http://skrymerdev.wordpress.com/2012/09/22/qr-code-generation-with-zxing/

但是我确定您不能直接在 QR 码的中心添加图像,这将不允许扫描 QR 码.您可以在顶部放一个小的.

However I am certain you cannot add an image directly in the center of an QR code it will not allow the QR code to scan. You may be able to put a small one at the top.

这篇关于如何在二维码中添加徽标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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