-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[馃悰] wrong height and width in android real device #1901
Comments
I guess this is because of exif rotation of the image. I am struggling to get the exif orientation after the user has taken a photo. But the behavior you are seeing is correct: Android devices always takes portrait pictures but adds a rotation property to the exif data. |
Could this bug assigned to me , I can try solving this, and also pls do provide me with that code file link, where I can change the code |
@ansarikhurshid786 Could you assign this bug to me |
I don't have rights to assign you bug. could you please and update repo. |
Any updates here? This is also happening to me on IOS. (videos taken from phone that are selected from the gallery) |
Same issue on Android (test device is a Samsung Galaxy S7). Portrait photos picked from the Gallery have the width and height mixed up. Landscape photos are OK. No problem on iOS. |
i am facing the same issue. Just tried the fix provided by @GiovanniVisentiniCasavo Seem to work correctly now, width and height are now correct on my samsung S9 for both Portrait and Landscape. Would be great if someone could review the PR, so that it can be merged! |
Can someone please review the PR and aprove it, seems like there is the solution, just need to be merged |
馃帀 This issue has been resolved in version 7.0.2 馃帀 The release is available on: Your semantic-release bot 馃摝馃殌 |
Adding comment with reference to PR #2260. On Android, the returned width and height are still swapped for images containing EXIF orientation 5(ORIENTATION_TRANSPOSE) and 7(ORIENTATION_TRANSVERSE). Can be verified with the following test images: |
Description
This is library is perfect and growing. It is working perfectly in iOS and android simulator.
In Android real device facing following issue:
Capure or pick from gallery images getting wrong height and width(reverse) when i set maxHeight and maxWidth properties.
How to repeat issue and example
In Android real device facing following issue:
Capure or pick from gallery images getting wrong height and width(reverse) when i set maxHeight and maxWidth properties and portrait mode image.
response:
Additional Information
The text was updated successfully, but these errors were encountered: