I am using pyqrcode module in python and generating QR code with it. How to put the logo in the center of that QR code.
The code looks like this
import pyqrcode
data = "Hello World!!"
number = pyqrcode.create(data)
number.png('xyz.png', scale=int(scale))
with open('xyz.png', "rb") as f:
return HttpResponse(f.read(), content_type="image/png")
Or is there any another way of doing this instead of pyqrcode?