$rsDecoder
$rsDecoder
<p>The main class which implements QR Code decoding -- as opposed to locating and extracting the QR Code from an image.</p>
decodeImage(mixed $image, mixed $hints = null) : \Zxing\Qrcode\Decoder\text
<p>Convenience method that can decode a QR Code represented as a 2D array of booleans.
"true" is taken to mean a black module.
| mixed | $image | |
| mixed | $hints |
if the QR Code cannot be decoded
if error correction fails
and bytes encoded within the QR Code
decodeBits(mixed $bits, mixed $hints = null) : \Zxing\Qrcode\Decoder\text
<p>Decodes a QR Code represented as a {@link BitMatrix}. A 1 or "true" is taken to mean a black module.</p>
| mixed | $bits | |
| mixed | $hints |
if the QR Code cannot be decoded
if error correction fails
and bytes encoded within the QR Code
correctErrors(mixed $codewordBytes, mixed $numDataCodewords) : mixed
<p>Given data and error-correction codewords received, possibly corrupted by errors, attempts to correct the errors in-place using Reed-Solomon error correction.</p>
| mixed | $codewordBytes | |
| mixed | $numDataCodewords |
if error correction fails