## Ask your Question I realized that when I modify the `x` it has impact on the `y` axis on the final output an viceversa
Activity
retyui commentedon Aug 14, 2024
@frodriguez-hu Could you provide an example so I can easy reproduce this issue ?
frodriguez-hu commentedon Aug 14, 2024
This is what i am doing @retyui :
I have to invert the axis to make it work
frodriguez-hu commentedon Aug 14, 2024
I just have some coordinates on other NxM Dimensions and I want to crop the image with those dimensions
frodriguez-hu commentedon Aug 14, 2024
@retyui
And also
xwhich isyon the final result, is not cropping on the right position on the transformation I made.I mean, with inverted axis, this should work:
But x is cutting it in the middle or near of (real y axis on displayed image)
retyui commentedon Aug 14, 2024
What was used to take a photo ?
frodriguez-hu commentedon Aug 14, 2024
react-native-vision-cameraon the last version which with the front camera automatically mirror the photo. I mean, the photo is being well renderedretyui commentedon Aug 14, 2024
well, there was a known issue with RN-vision-camera: mrousavy/react-native-vision-camera#2515 on Android
but I need to test it on my end as PR for the issue was merged: mrousavy/react-native-vision-camera#2932
retyui commentedon Aug 14, 2024
thx for reporting it
frodriguez-hu commentedon Aug 14, 2024
I am using the last React Native VC version
frodriguez-hu commentedon Aug 14, 2024
Do you know if there are a workaround to handle it correctly on android?
frodriguez-hu commentedon Aug 14, 2024
@retyui It worked well using
takeSnapshotinstead oftakePhotoretyui commentedon Aug 30, 2024
@frodriguez-hu An orientation prop from the
.takePhoto()result needs to be considered.For example: