-
-
Notifications
You must be signed in to change notification settings - Fork 98
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unwanted image rotation on newer Androids after compression #280
Comments
👋 @MrTurtlev2 |
I have discovered a temporary solution for this problem. Navigate to the "ImageCompressor.ks" file located at: Then, replace the current implementation of the "manualCompressImage" function with the following code:
after updating the code just patch package with patch-package
|
I still have the issue with image with "front" camera device. The patch seems to work only on "back" camera |
Have you managed to solve this issue? I'm facing the same problem. |
Android >= 12
ReactNative: 0.68.0
react-native-compressor: 1.8.24
After compressing the image manually, it rotates by 90 degrees. However, the automatic compression method works correctly. This issue was also present on iOS, but it was resolved with version 1.8.24.
The text was updated successfully, but these errors were encountered: