how to fix an unclear qr code image generated using zxing 2.1?
问题 I have generated a QR code image using zxing 2.1 library, but the image is very blurry and unclear. Where might I be possibly going wrong? 回答1: The generation happens at a lower level and then is scaled with a width and height request. You can request generation at a higher width and height. ZXing exposes BarcodeOptions in the viewer that you can set. In your model you can do this: public EncodingOptions BarcodeOptions => new EncodingOptions() { Height = 100, Width = 100, PureBarcode = true }