Square capture image with native response

I want to configure the default camera the same as instagram camera. How can I guarantee that the images captured by my application are always square?enter image description here

+4
source share
1 answer

You can try using this package: https://github.com/wix/react-native-camera-kit , which provides cropping to the specified aspect ratio, so you can use 1: 1 to get a square.

+1
source

Source: https://habr.com/ru/post/1671143/


All Articles