AndroidScannerDemo icon indicating copy to clipboard operation
AndroidScannerDemo copied to clipboard

Image automatically rotate to landscape

Open vsk-21 opened this issue 4 years ago • 9 comments

vsk-21 avatar Jul 04 '20 09:07 vsk-21

I am also facing the same issue.

nazeera8 avatar Jul 07 '20 20:07 nazeera8

here is the fix already https://github.com/jhansireddy/AndroidScannerDemo/pull/62

vamsee9 avatar Jul 09 '20 12:07 vamsee9

@vsk-21 Could you give me steps to reproduce, I don't see this issue.

jhansireddy avatar Oct 18 '20 13:10 jhansireddy

Image rotation bug.zip

@jhansireddy I am also facing the same issue. whenever I scan passport photos especially image is getting auto-rotated.

I have attached a recording of the issue.

PratikSheth avatar Oct 23 '20 11:10 PratikSheth

How to reproduce: If u click image by holding a phone in landscape, issue is not occuring. but if u click the image in portrait mode (the way normally we hold the phone), clicked image will get 90 degree rotated view in the preview screen.

PratikSheth avatar Oct 23 '20 11:10 PratikSheth

@jhansireddy I am also facing this auto landscape rotation issue, please help

UjjwalDeep avatar Oct 29 '20 10:10 UjjwalDeep

Image rotation bug.zip

@jhansireddy I am also facing the same issue. whenever I scan passport photos especially image is getting auto-rotated.

I have attached a recording of the issue.

Did you fixed the issue??

UjjwalDeep avatar Oct 29 '20 10:10 UjjwalDeep

@vsk-21 here is the fix already #62 , replace the code in it, and it will work

ashwinjawale24 avatar May 08 '21 08:05 ashwinjawale24

@vsk-21 @nazeera8 Comment out the line matrix.postRotate(90); in the getBitmap() function in the ScanFragment class or replace 90 to 0 degree

nedushny avatar Jun 02 '22 13:06 nedushny