You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering inconsistent behavior when using the @bam.tech/react-native-image-resizer
package for image resizing with rotation angle across different devices. Specifically, when capturing an image in portrait mode:
On some Android devices, the image appears rotated to landscape (left) when I pass a rotation angle, even though it should remain in portrait. On other devices, the rotation works correctly.
If I pass 0 as the rotation angle, the behavior is reversed, with the image appearing correct on devices where it was previously incorrect. However, passing 0 works consistently on iOS devices.
This inconsistency in image orientation is making it difficult to ensure proper handling across all platforms. Any insight or solution to resolve this issue would be appreciated. I'm attaching the code for your reference.
The text was updated successfully, but these errors were encountered:
I am encountering inconsistent behavior when using the @bam.tech/react-native-image-resizer
package for image resizing with rotation angle across different devices. Specifically, when capturing an image in portrait mode:
On some Android devices, the image appears rotated to landscape (left) when I pass a rotation angle, even though it should remain in portrait. On other devices, the rotation works correctly.
If I pass 0 as the rotation angle, the behavior is reversed, with the image appearing correct on devices where it was previously incorrect. However, passing 0 works consistently on iOS devices.
This inconsistency in image orientation is making it difficult to ensure proper handling across all platforms. Any insight or solution to resolve this issue would be appreciated. I'm attaching the code for your reference.
The text was updated successfully, but these errors were encountered: