Replies: 2 comments
-
As a workaround I implemented the following temporary solution: If no qualifying QR-Code is found on the page I rotate the .PNG by 90° and read again. If I still do not find a qualifying QR-Code, I rotate the .PNG again by 90°. Rather primitive, but I think it will help for 99.8% of my application (reading Swiss QR-paymentslips)... - if there is an additional QR-Code somewhere on the bill, it is not very likely, that there is a second one all down.... Just realized: Maybe it would find the QR-Code faster and more reliable by rotating by 180°, then 90° and again by 180°... |
Beta Was this translation helpful? Give feedback.
-
You can try the method "DecodeImageFileMultiple" to get more than one result if there is more than one code found in the picture. |
Beta Was this translation helpful? Give feedback.
-
I use this library with then VBA (COM Interop) wrapper to extract and read QR-Codes from .PDF. For this I first convert the .PDF page by page to a .PNG. This works pretty well!
However now I stumbled over a .PNG (=page in a PDF-file) that contains 2 QR-Codes - and I need the second one, while the library returns the first. Is there any way to read the content of the second (and further...) QR-codes?
Once I have read the barcode I will be able to discriminate whether it was the correct one.
Beta Was this translation helpful? Give feedback.
All reactions