B
B
Black back2020-03-04 11:41:04
Python
Black back, 2020-03-04 11:41:04

How can I implement this? I have data and I want to turn it into a qr code, how can I make a qr code from a picture?

I implemented the texts, but I don’t know how to make a picture?? Tell me please

import qrcode
from qrcode.image.pure import PymagingImage
img = qrcode.make('Some data here', image_factory=PymagingImage)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
o5a, 2020-03-04
@o5a

img.save("qrcode.png")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question