IF you're generating a QR code for a thermal printer, use
Bitmap.Config.ARGB_8888
.
Bitmap.Config.ARGB_8888
.