Reduce border width on QR Codes generated by ZXing?
The QR spec requires a four module quiet zone and that’s what zxing creates. (See QUIET_ZONE_SIZE in QRCodeWriter.renderResult.) More recent versions of ZXing allow you to set the size of the quiet zone (basically the intrinsic padding of the QR code) by supplying an int value with the EncodeHintType.MARGIN key. Simply include it in the … Read more