Hello,
As I want a square format for my image, I have set the ratio of the camera to 1:1.
The camera is wrapped in a view with square format :
<View style={{
width: Dimensions.get("window").width,
height: Dimensions.get("window").width,
}>
<Camera
style={styles.camera}
type={Camera.Constants.Type.back}
ratio="1:1"
flashMode={flashMode}
ref={(ref) => {
setCameraRef(ref)
}}
></Camera>
</View>
It works well on the most of phone, expect some android that have the picture is distorted. It seems that the 1:1 ratio is not available on all android device.
I am wondering if I set the ratio to 4:3 will resolve the issue ?
If i change the ratio to 4:3 and keep the square format on the Caméra, will my image be distorted ?