Changing image format from "RGB" to "1" (black-white)
Changing image format from "RGB" to "1" (black-white)

Since QR Codes are black-white by nature, it makes more sense to
generate a PIL black-white Image. If the user wants another format, just
convert it later.

unapiedra/pyqrnative