Closed jimaobian closed 2 years ago
Check the following code here:
Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import qrcode >>> img = qrcode.make("new") >>> img.width 21 >>> img.height 290 >>> img.size (290, 290) >>>
Width is the number of qr "pixels", size is the actual image dimensions
Yes, it's overriding the image, but changing it would be a backwards incompatible change with only a small benefit.
Check the following code here: