yuriy-budiyev / code-scanner

Code scanner library for Android, based on ZXing
MIT License
1.1k stars 267 forks source link

code to bitmap error #56

Closed s-ilnar closed 5 years ago

s-ilnar commented 5 years ago

Hello!

My Code: BarcodeUtils.encodeBitmap(code, BarcodeFormat.EAN_13, 400, 150)

exception: Process: ru.packa.pivovaroff, PID: 14959 java.lang.ArrayIndexOutOfBoundsException: length=1950; index=1953

What am I doing wrong?

yuriy-budiyev commented 5 years ago

Encoding and decoding images are done by ZXing library.