What steps will reproduce the problem?
1. Run the inbuilt example testqr.py
Alternatively, use the function qr.makeImage()
What is the expected output? What do you see instead?
The output BMP file is 700kb. The correct size for a BMP of that size should be about 31kb.
The BMP uses the RGB colorspace. Instead it should use the monocrome (1-bit) colorspace.
changing the code:
im = Image.new("RGB", (pixelsize, pixelsize), "white")
to
im = Image.new("1", (pixelsize, pixelsize), "white")
fixes the issue. I've changed my copy, but it should be considered for the repository.
What version of the product are you using? On what operating system?
r3
Please provide any additional information below.
Mac OS X Lion. Python 2.7 using Fink to install.