Describe the bug or unexpected behaviour
A QRCode recognition fails with the error "failed to read version" even if the QRCode can be decoded with a phone for example.
Steps to reproduce the behavior
(new QRCode)->readFromFile($imagePath);
with imagePath being a good resolution jpg file.
It fails in file src/Decoder/BitMatrix.php, line 345
If you provide me with a way to send you the file privately or a way to track down the problem I would be happy to help. The QRCode contains personal information of someone else, so I cannot post the file in public here.
Environment (please complete the following information):
- PHP version/OS: PHP 8.3, MacOS or Debian buster, makes no difference.
- Library version: 5.0.2
Describe the bug or unexpected behaviour
A QRCode recognition fails with the error "failed to read version" even if the QRCode can be decoded with a phone for example.
Steps to reproduce the behavior
(new QRCode)->readFromFile($imagePath);with
imagePathbeing a good resolution jpg file.It fails in file
src/Decoder/BitMatrix.php, line 345If you provide me with a way to send you the file privately or a way to track down the problem I would be happy to help. The QRCode contains personal information of someone else, so I cannot post the file in public here.
Environment (please complete the following information):