Open gauravrana0-nagarro opened 2 months ago
Guten Tag, Hans here.
[!NOTE] New features, bugfixes, updates and other improvements are all handled mostly by
@mrousavy
in his free time. To support@mrousavy
, please consider 💖 sponsoring him on GitHub 💖. Sponsored issues will be prioritized.
same issue on Redmi Note 7 Pro device & Some Samsung device
I just installed shadow lens app on my android device. the same issue is in Shadow Lens app also. It stores image in landscape mode if clicked closely and in portrait if clicked from some distance. In v2 the landscape image also got rotated to portrait in landscape-right orientation. In v4 it is not the same. NOTE: device orientation is locked to portrait
I have same issue on IOS
We're also experiencing this issue on at least these devices:
-Realme C21-Y, Android Version 11 -Vivo Y27s, Android Version 14
@mrousavy, I believe this bug was introduced in version 4 as well as we didn't have it before.
The ability to set outputOrientation
to a specific orientation was removed.
Set outputOrientation="preview"
, that should work.
Hi @mrousavy, I tried your solution, but I'm still having issues. After taking a photo, the image preview orientation is correct, but when I save it to the device gallery, it appears sideways. This only happens with pictures taken using the front camera. Any suggestions? Thanks! Lib version: 4.4.2 (latest) Device: Samsung Galaxy A32
same here
version 4
https://github.com/mrousavy/react-native-vision-camera/assets/125337945/8d538c30-a779-4067-8d1e-545bc53638d2
version 2 https://github.com/mrousavy/react-native-vision-camera/assets/125337945/e1bccae7-a526-4d8b-b690-c6c15756388e
What's happening?
in version 4.3.2 if I add outputOrientation = landscape-right prop it always takes images in the landscape mode in android but in version 2 it used to convert landscape-right image to portrait. It is working same as in v2 in iOS
Reproduceable Code
Relevant log output
Camera Device
Device
samsung m21
VisionCamera Version
4.3.1
Can you reproduce this issue in the VisionCamera Example app?
Yes (⚠️ your issue might get ignored & closed if you don't try this)
Additional information