Currently, `RNCamera` does not allow for specifying the desired resolution of the captured image, nor does it natively expose any functionality to resize images.
One way to achieve this (without any additional dependencies )is using [react-native.ImageEditor.cropImage](https://facebook.github.io/react-native/docs/imageeditor.html#cropimage).
The strategy is:
1. Capture an image using `RNCamera`, which uses the device's max resolution.
2. Use `react-native.ImageEditor.cropImage()` to crop the image using the image's native size as the crop size (thus maintaiing the original image), and the desired new size as the `displaySize` attribute (thus resizing the image).
```javascript
import React, { Component } from 'react';
import { Button, ImageEditor } from 'react-native';
import { RNCamera } from 'react-native-camera';
class CameraComponent extends Component {
// ...
capturePicture = function () {
if (this.camera) {
// 1) Capture the image using RNCamera API
this.camera.takePictureAsync(options)
.then((capturedImg) => {
// 2a) Extract a reference to the captured image,
// along with its natural dimensions
const { uri, width, height } = capturedImg;
const cropData = {
// 2b) By cropping from (0, 0) to (imgWidth, imgHeight),
// we maintain the original image's dimensions
offset: { x: 0, y: 0 },
size: { width, height },
// 2c) Use the displaySize option to specify the new image size