withErrorCorrectionLevel

The level of error correction to apply to the QR Code. Defaults to ErrorCorrectionLevel.VERY_HIGH.

In short, this configures how much data loss we can tolerate. Higher error correction = Readable QR Codes even with large parts hidden/crumpled/deformed.

See also