CanHub / Android-Image-Cropper

Image Cropping Library for Android, optimised for Camera / Gallery.
Apache License 2.0
1.21k stars 248 forks source link

[BUG] - ExifInterface.ORIENTATION_TRANSVERSE as returned by CameraX not correctly handled #144

Closed sameerjj closed 3 years ago

sameerjj commented 3 years ago

Describe the bug If an image is passed into the cropper with EXIF orientation data outside of 0,90,180,270, the cropper displays the incorrect orientation of the image.

More specifically, image with EXIF data ORIENTATION_TRANSVERSE is not rotated or displayed correctly

To Reproduce Steps to reproduce the behavior:

Expected behavior

Smartphone (please complete the following information):

Canato commented 3 years ago

Morning @sameerjj

Thanks for the detailed explanation.

stale[bot] commented 3 years ago

Let's keep this mess organised! This issue has been automatically marked as stale because it has not had recent activity. =( It will be closed if no further activity occurs. Thank you for your contributions.

nejcburic commented 2 years ago

I have same issue using Pixel 5. Is there a solution provided? @Canato

It can be reproduced using sample app provided by repository.

Canato commented 2 years ago

@nejcburic not yet, I could not reproduce. I asked some questions but was ghosted. Happy to follow this if I can understand better what is going on. Suggest to open a new issue with all information need =D