New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexOutOfBounds when encoding a PDF417 #1163
Comments
I suspect it's a bug, and I unfortunately have no idea what. I think there are a few latent bugs in the PDF417 parts. If you figure it out, feel free to open a PR. What language is this BTW? |
@srowen will do, the language is kotlin |
@srowen After looking into it a bit more, my data contained a • character and it was checking that character that it crashed and got the index out of bounds. If i have time later i'll see if i can fix the crash. |
i use java ,i work for android |
@hidethatbug did you by chance try using the • character in what your contents? |
@srowen Do you know why PDF417 barcode is not scanned by app ? Just search PDF417 barcode like (https://www.google.com/search?q=PDF417+barcode&pws=0&gl=us&sxsrf=ACYBGNSdD_T7SKV1VFqCbhHS3vzXm_N4gQ:1570773894952&tbm=isch&source=iu&ictx=1&fir=kKc5tueauiP1qM%253A%252CQDBZhqzL1ExgMM%252C%252Fm%252F02v3gn&vet=1&usg=AI4_-kS4PwRJB9k7qOjj5BkX0-_iIHfYbg&sa=X&ved=2ahUKEwjVtJ_gxJPlAhVv6nMBHROaBo4Q_B0wG3oECAkQAw#imgrc=kKc5tueauiP1qM:&vet=1) and scan it, most of all barcodes are not detected by the app. |
What is your img_width, img_height?
|
G |
Likely fixed by #1514 |
I'm trying to encode a PDF417 and whenever I set the
PDF417_COMPACTION
toCompaction.TEXT
I get this crash:Here is the code for how I am trying to create the barcode:
Is this a bug or am i doing something wrong?
The text was updated successfully, but these errors were encountered: