-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Current Behaviour
The app will crash when trying to read MRZ in portrait position
java.lang.IllegalArgumentException: y + height must be <= bitmap.height()
at android.graphics.Bitmap.createBitmap(Bitmap.java:916)
at android.graphics.Bitmap.createBitmap(Bitmap.java:873)
at org.idpass.smartscanner.lib.mrz.MRZAnalyzer.analyze(MRZAnalyzer.kt:100)
Expected Behaviour
It should not crash and scanning MRZ with Portrait orientation should work
Steps to Reproduce the Problem
- Open SmartScanner App
- Go back to the home page and try to open MRZ, it will crash automatically
Context
- Version: 0.4.6
Metadata
Metadata
Assignees
Labels
No labels