Open wanaks opened 1 year ago
Running the following code (taken from the project's README) produces a QR code with a black image and a white background. I would have expected a solid red square given the values for fill_color and back_fill:
fill_color
back_fill
import qrcode qr = qrcode.QRCode( version=1, error_correction=qrcode.constants.ERROR_CORRECT_L, box_size=10, border=4, ) qr.add_data('Some data') qr.make(fit=True) img = qr.make_image(fill_color="red", back_color="red") img.save("test.png")
It works in 7.3.1 version, not in lastest releases
Running the following code (taken from the project's README) produces a QR code with a black image and a white background. I would have expected a solid red square given the values for
fill_color
andback_fill
: