$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(array $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.
array | $image | booleans representing white/black QR Code modules |
mixed | $hints |
if the QR Code cannot be decoded
if error correction fails
and bytes encoded within the QR Code
decodeBits(\Zxing\Common\BitMatrix $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>
\Zxing\Common\BitMatrix | $bits | booleans representing white/black QR Code modules |
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