Open jordam1407 opened 3 weeks ago
This bug only happen when I got a picture from react native vision camera, when picked with expo-image-picker, it works fine!
Thank you for reporting this problem. This workaround should assist to resolve it, as we have something similar on Android.
Environment
Phisical Device: iPhone 13 Pro Max OS: iOS 16.2.7
Project: "react-native": "0.74.3", "@react-native-community/image-editor": "^4.2.0", "expo": "~51.0.23", "react-native-vision-camera": "^4.5.1",
Description
The crop result is outside what was expected
*This code works perfectly in all other devices/emulators and OS versions, for both Android, iOS.
This bug only happen when I got a picture from react native vision camera, when picked with expo-image-picker, it works fine!
The green toast in end of the video is: Original Image Height and Image Width
Image crop area Height and Width Position X and Y above the Image crop area
https://github.com/user-attachments/assets/ab1b5711-82ed-4dcc-88b7-6cec8b45e4f8
Reproducible Demo